diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-06-20 18:42:58 -0400 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-06-20 18:42:58 -0400 |
commit | 381c9c8870fad4c544f29deec22ba4be3549a731 (patch) | |
tree | f5f26e2dd380910b0ddd26e3d885d6bf56d40181 /include/mail.h | |
parent | 2528dc80bd1b3e6b2c09db23eb51659e30128110 (diff) |
The first of a few "CBX OCDing over code style" commits, focusing on include/* and src/* but not src/core/* or src/modules/*.
Diffstat (limited to 'include/mail.h')
-rw-r--r-- | include/mail.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/mail.h b/include/mail.h index 5fe25ab08..7148b56d8 100644 --- a/include/mail.h +++ b/include/mail.h @@ -1,3 +1,5 @@ +#ifndef MAIL_H +#define MAIL_H extern CoreExport bool Mail(User *u, NickRequest *nr, const std::string &service, const std::string &subject, const std::string &message); extern CoreExport bool Mail(User *u, NickCore *nc, const std::string &service, const std::string &subject, const std::string &message); @@ -11,7 +13,7 @@ class MailThread : public Thread std::string Addr; std::string Subject; std::string Message; - + bool Success; public: MailThread(const std::string &mailto, const std::string &addr, const std::string &subject, const std::string &message) : Thread(), MailTo(mailto), Addr(addr), Subject(subject), Message(message), Success(false) @@ -22,3 +24,5 @@ class MailThread : public Thread void Run(); }; + +#endif // MAIL_H |