1 | #ifndef ENGINE_NOTIFICATIONS_H |
---|---|
2 | #define ENGINE_NOTIFICATIONS_H |
3 | |
4 | #include "kernel.h" |
5 | |
6 | class INotifications : public IInterface |
7 | { |
8 | MACRO_INTERFACE("notifications") |
9 | public: |
10 | virtual void Init(const char *pAppname) = 0; |
11 | virtual void Shutdown() override = 0; |
12 | virtual void Notify(const char *pTitle, const char *pMessage) = 0; |
13 | }; |
14 | |
15 | INotifications *CreateNotifications(); |
16 | |
17 | #endif // ENGINE_NOTIFICATIONS_H |
18 |