summaryrefslogtreecommitdiff
path: root/indra/newview/llnotificationmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llnotificationmanager.h')
-rw-r--r--indra/newview/llnotificationmanager.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llnotificationmanager.h b/indra/newview/llnotificationmanager.h
index 838a00ee11..072fc6f24c 100644
--- a/indra/newview/llnotificationmanager.h
+++ b/indra/newview/llnotificationmanager.h
@@ -50,7 +50,7 @@ class LLToast;
/**
* Responsible for registering notification handlers.
*/
-class LLNotificationManager : public LLUICtrl, public LLSingleton<LLNotificationManager>
+class LLNotificationManager : public LLSingleton<LLNotificationManager>
{
typedef std::pair<std::string, LLEventHandler*> eventhandlers;
public:
@@ -68,6 +68,10 @@ public:
// this method reacts on chat notifications and calls an appropriate handler
void onChat(const LLChat& msg,ENotificationType type);
+ // get a handler for a certain type of notification
+ LLEventHandler* getHandlerForNotification(std::string notification_type);
+
+
private:
//TODO (*)
std::map<std::string, boost::shared_ptr<LLEventHandler> > mNotifyHandlers;