diff options
author | Rider Linden <rider@lindenlab.com> | 2015-10-27 11:55:34 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2015-10-27 11:55:34 -0700 |
commit | d4576e987f235e3e96516db1f342cbcf7e4c36e9 (patch) | |
tree | cfc869de43175e3731acd0db246465a2bcbfa198 /indra/newview/llsyswellwindow.h | |
parent | abf9ccb0dee2e707c94f1f14f8869f2a991fea94 (diff) | |
parent | 84150294b912d04e345007b65670c0230a2e4d79 (diff) |
Merged lindenlab/viewer-release into default
Diffstat (limited to 'indra/newview/llsyswellwindow.h')
-rwxr-xr-x | indra/newview/llsyswellwindow.h | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/indra/newview/llsyswellwindow.h b/indra/newview/llsyswellwindow.h index 71b41476f5..d02293e6ff 100755 --- a/indra/newview/llsyswellwindow.h +++ b/indra/newview/llsyswellwindow.h @@ -96,57 +96,6 @@ protected: }; /** - * Class intended to manage incoming notifications. - * - * It contains a list of notifications that have not been responded to. - */ -class LLNotificationWellWindow : public LLSysWellWindow -{ -public: - LLNotificationWellWindow(const LLSD& key); - static LLNotificationWellWindow* getInstance(const LLSD& key = LLSD()); - - /*virtual*/ BOOL postBuild(); - /*virtual*/ void setVisible(BOOL visible); - /*virtual*/ void onAdd(LLNotificationPtr notify); - // Operating with items - void addItem(LLSysWellItem::Params p); - - // Closes all notifications and removes them from the Notification Well - void closeAll(); - -protected: - struct WellNotificationChannel : public LLNotificationChannel - { - WellNotificationChannel(LLNotificationWellWindow*); - void onDelete(LLNotificationPtr notify) - { - mWellWindow->removeItemByID(notify->getID()); - } - - LLNotificationWellWindow* mWellWindow; - }; - - LLNotificationChannelPtr mNotificationUpdates; - /*virtual*/ const std::string& getAnchorViewName() { return NOTIFICATION_WELL_ANCHOR_NAME; } - -private: - // init Window's channel - void initChannel(); - void clearScreenChannels(); - - void onStoreToast(LLPanel* info_panel, LLUUID id); - - // Handlers - void onItemClick(LLSysWellItem* item); - void onItemClose(LLSysWellItem* item); - - // ID of a toast loaded by user (by clicking notification well item) - LLUUID mLoadedToastId; - -}; - -/** * Class intended to manage incoming messages in IM chats. * * It contains a list list of all active IM sessions. |