summaryrefslogtreecommitdiff
path: root/indra/newview/llchiclet.h
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2009-12-04 18:31:57 +0200
committerMike Antipov <mantipov@productengine.com>2009-12-04 18:31:57 +0200
commit69cd9ac98bde4d602a8bdb785ac576df958ea1f5 (patch)
treeb6b25a89e5ee27f705f21b9009b4b9850ae323e5 /indra/newview/llchiclet.h
parent1acc52a7e781a7931d1fc6bfc2313c49eb6be2a2 (diff)
Completed normal task EXT-3081 (Separate Message Well on Notifications Well and IM Well)
-- created IM Wel icon -- functionality is moved from the base class into appropriate classes (for Notification & IM Well windows) --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llchiclet.h')
-rw-r--r--indra/newview/llchiclet.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/indra/newview/llchiclet.h b/indra/newview/llchiclet.h
index c75ad2b546..7e2d1ea411 100644
--- a/indra/newview/llchiclet.h
+++ b/indra/newview/llchiclet.h
@@ -746,7 +746,7 @@ private:
* Implements notification chiclet. Used to display total amount of unread messages
* across all IM sessions, total amount of system notifications.
*/
-class LLNotificationChiclet : public LLChiclet
+class LLSysWellChiclet : public LLChiclet
{
public:
@@ -768,7 +768,7 @@ public:
boost::signals2::connection setClickCallback(const commit_callback_t& cb);
- /*virtual*/ ~LLNotificationChiclet();
+ /*virtual*/ ~LLSysWellChiclet();
// methods for updating a number of unread System notifications
void incUreadSystemNotifications() { setCounter(++mUreadSystemNotifications); }
@@ -779,16 +779,24 @@ protected:
// connect counter updaters to the corresponding signals
void connectCounterUpdatersToSignal(std::string notification_type);
- LLNotificationChiclet(const Params& p);
+ LLSysWellChiclet(const Params& p);
friend class LLUICtrlFactory;
- static S32 mUreadSystemNotifications;
+ S32 mUreadSystemNotifications;
protected:
LLButton* mButton;
S32 mCounter;
};
+class LLNotificationChiclet : public LLSysWellChiclet
+{
+ friend class LLUICtrlFactory;
+protected:
+ LLNotificationChiclet(const Params& p);
+
+};
+
/**
* Storage class for all IM chiclets. Provides mechanism to display,
* scroll, create, remove chiclets.