#pragma once #ifndef SERVER_WORLDSERVER_NOTIFICATIONMANAGER_H #define SERVER_WORLDSERVER_NOTIFICATIONMANAGER_H #ifdef _NA_008283_20150511_NOTIFICATIONS_SYSTEM #include #include class NotificationManager : public util::Singleton { public: NotificationManager(); ~NotificationManager(); void ProcessNotification(NotificationInfo& notification); void GetPrevNotifications(MSG_CW_NOTIFICATION_PREV_ACK& msg); void ClearNotification(); private: void AddNotification(NotificationInfo& notification); void SendNotification(NotificationInfo& notification); std::list m_notifications; }; #endif // _NA_008283_20150511_NOTIFICATIONS_SYSTEM #endif // SERVER_WORLDSERVER_NOTIFICATIONMANAGER_H