blob: 4ce0f26d212e26645dff6d00ec373e71fd869a12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef NOTIFICATIONSIMPL_H
#define NOTIFICATIONSIMPL_H
#include <libxslt/documents.h>
#include <memory>
#include <notifications.h>
#include <visibility.h>
namespace Gentoo {
namespace Service {
class DLL_PUBLIC Notifications : public Gentoo::Notifications {
public:
Notifications();
IceTray::Mail::EmailPtr getSignup(const Gentoo::NewUserPtr &) override;
IceTray::Mail::EmailPtr getNews(const Gentoo::UserPtr &, const Gentoo::NewsContent &) override;
private:
IceTray::Mail::EmailPtr basicMail(const std::string &, const Gentoo::UserPtr & u);
typedef std::shared_ptr<xsltStylesheet> xsltSSPtr;
xsltSSPtr news;
xsltSSPtr signup;
};
}
}
#endif
|