Emit no audio from DCPs if none is mapped
[dcpomatic.git] / src / lib / email.h
index 3bcb8af4aa0ca4debff214ec22b9928e86317d71..36398bfd804984f5f5179be77bc5b1a8581279c7 100644 (file)
@@ -30,6 +30,7 @@ public:
 
        void add_cc (std::string cc);
        void add_bcc (std::string bcc);
+       /** Add attachment, copying the contents of the file into memory */
        void add_attachment (boost::filesystem::path file, std::string name, std::string mime_type);
 
        void send (std::string server, int port, EmailProtocol protocol, std::string user = "", std::string password = "");
@@ -61,7 +62,7 @@ private:
        std::vector<std::string> _bcc;
 
        struct Attachment {
-               boost::filesystem::path file;
+               dcp::ArrayData file;
                std::string name;
                std::string mime_type;
        };