/* * Copyright (c) 2010 Remko Tronçon * Licensed under the GNU General Public License v3. * See Documentation/Licenses/GPLv3.txt for more information. */ #pragma once #include #include "SwifTools/Notifier/Notifier.h" #include "Swiften/Base/boost_bsignals.h" #include "Swift/Controllers/XMPPEvents/StanzaEvent.h" #include "Swiften/JID/JID.h" namespace Swift { class EventController; class Notifier; class AvatarManager; class NickResolver; class JID; class UIEventStream; class SettingsProvider; class EventNotifier { public: EventNotifier(EventController* eventController, Notifier* notifier, AvatarManager* avatarManager, NickResolver* nickResolver); ~EventNotifier(); boost::signal onNotificationActivated; private: void handleEventAdded(boost::shared_ptr); void handleNotificationActivated(JID jid); private: EventController* eventController; Notifier* notifier; AvatarManager* avatarManager; NickResolver* nickResolver; }; }