projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wake UI with a wxEVT_IDLE which is the event that SignalManager::ui_idle is tied to.
[dcpomatic.git]
/
src
/
lib
/
emailer.h
diff --git
a/src/lib/emailer.h
b/src/lib/emailer.h
index 89993ca48f4923cd6668e29aa923370102c13a9f..8ec983f4368511e04d1cbfded031e3c6cddf380a 100644
(file)
--- a/
src/lib/emailer.h
+++ b/
src/lib/emailer.h
@@
-23,13
+23,13
@@
class Emailer
{
public:
class Emailer
{
public:
- Emailer (std::string from, std::
string
to, std::string subject, std::string body);
+ Emailer (std::string from, std::
list<std::string>
to, std::string subject, std::string body);
void add_cc (std::string cc);
void add_bcc (std::string bcc);
void add_attachment (boost::filesystem::path file, std::string name, std::string mime_type);
void add_cc (std::string cc);
void add_bcc (std::string bcc);
void add_attachment (boost::filesystem::path file, std::string name, std::string mime_type);
- void send (
boost::shared_ptr<Job> job
);
+ void send ();
std::string notes () const {
return _notes;
std::string notes () const {
return _notes;
@@
-38,11
+38,12
@@
public:
size_t get_data (void* ptr, size_t size, size_t nmemb);
int debug (CURL* curl, curl_infotype type, char* data, size_t size);
size_t get_data (void* ptr, size_t size, size_t nmemb);
int debug (CURL* curl, curl_infotype type, char* data, size_t size);
-private:
static std::string address_list (std::list<std::string> addresses);
static std::string address_list (std::list<std::string> addresses);
+private:
+
std::string _from;
std::string _from;
- std::
string
_to;
+ std::
list<std::string>
_to;
std::string _subject;
std::string _body;
std::list<std::string> _cc;
std::string _subject;
std::string _body;
std::list<std::string> _cc;