diff options
Diffstat (limited to 'gentoobrowse-api/service/notifications/mailserverimpl.h')
-rw-r--r-- | gentoobrowse-api/service/notifications/mailserverimpl.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gentoobrowse-api/service/notifications/mailserverimpl.h b/gentoobrowse-api/service/notifications/mailserverimpl.h new file mode 100644 index 0000000..23b17c2 --- /dev/null +++ b/gentoobrowse-api/service/notifications/mailserverimpl.h @@ -0,0 +1,20 @@ +#ifndef MAILSERVERIMPL_H +#define MAILSERVERIMPL_H + +#include <notifications.h> +#include <visibility.h> + +namespace Gentoo { + namespace Service { + class DLL_PUBLIC MailServer : public Gentoo::MailServer { + public: + void sendEmail(const Gentoo::EmailPtr & msg, const Ice::Current &) override; + + private: + static const char * writeBody(void ** buf, int * len, void * arg); + }; + } +} + +#endif + |