blob: 1d3b1fc920725f0e40e3bf7c1dedcc8a56377279 (
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
29
|
#ifndef NOTIFICATIONSIMPL_H
#define NOTIFICATIONSIMPL_H
#include <notifications.h>
#include <visibility.h>
#include <memory>
#include <libxslt/documents.h>
namespace Gentoo {
namespace Service {
class DLL_PUBLIC Notifications : public Gentoo::Notifications {
public:
Notifications();
Gentoo::EmailPtr getSignup(const Gentoo::NewUserPtr &, const Ice::Current &) override;
Gentoo::EmailPtr getNews(const Gentoo::UserPtr &, const Gentoo::NewsContent &, const Ice::Current &) override;
private:
Gentoo::EmailPtr basicMail(const std::string &, Gentoo::UserPtr u);
typedef std::shared_ptr<xsltStylesheet> xsltSSPtr;
xsltSSPtr news;
xsltSSPtr signup;
};
}
}
#endif
|