diff options
author | Steve Bennetts <steve@lindenlab.com> | 2009-11-05 13:31:38 -0800 |
---|---|---|
committer | Steve Bennetts <steve@lindenlab.com> | 2009-11-05 13:31:38 -0800 |
commit | b286744a368d2a492bd9a3446fb8d072bd9ee8cd (patch) | |
tree | ec00b869367187831e097b0a406e193cb2e0832a /indra/newview/llnotificationhandler.h | |
parent | 6ce9f3b047084a9b947f66d041645238feb4b09b (diff) | |
parent | e26dacb374ec0fd87679aa730cf937a44bab3628 (diff) |
Merge
Diffstat (limited to 'indra/newview/llnotificationhandler.h')
-rw-r--r-- | indra/newview/llnotificationhandler.h | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/indra/newview/llnotificationhandler.h b/indra/newview/llnotificationhandler.h index cd4e640ec4..23998a0e5d 100644 --- a/indra/newview/llnotificationhandler.h +++ b/indra/newview/llnotificationhandler.h @@ -53,7 +53,8 @@ typedef enum e_notification_type NT_GROUPCHAT, NT_NEARBYCHAT, NT_ALERT, - NT_ALERTMODAL + NT_ALERTMODAL, + NT_OFFER } ENotificationType; /** @@ -231,6 +232,27 @@ protected: bool mIsModal; }; +/** + * Handler for offers notices. + * It manages life time of offer notices. + */ +class LLOfferHandler : public LLSysHandler +{ +public: + LLOfferHandler(e_notification_type type, const LLSD& id); + virtual ~LLOfferHandler(); + + // base interface functions + virtual bool processNotification(const LLSD& notify); + +protected: + virtual void onDeleteToast(LLToast* toast); + virtual void initChannel(); + + // own handlers + void onRejectToast(LLUUID& id); +}; + } #endif |