summaryrefslogtreecommitdiff
path: root/indra/newview/llchiclet.h
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2009-12-07 13:52:35 +0200
committerMike Antipov <mantipov@productengine.com>2009-12-07 13:52:35 +0200
commit4880959567436443b85bb45a963ed4ee5464dc45 (patch)
tree7b88da6c3e1b5aeda406d91903d7eddf11796597 /indra/newview/llchiclet.h
parent660d81834803354140029ca27dd718fa588f157d (diff)
Aditional changes for normal task EXT-3081 (Separate Message Well on Notifications Well and IM Well)
-- moved Notification well specific functionality from the "LLSysWellChiclet" into derived "LLNotificationChiclet" class --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llchiclet.h')
-rw-r--r--indra/newview/llchiclet.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/indra/newview/llchiclet.h b/indra/newview/llchiclet.h
index 603ca9de54..8727e97aad 100644
--- a/indra/newview/llchiclet.h
+++ b/indra/newview/llchiclet.h
@@ -770,20 +770,13 @@ public:
/*virtual*/ ~LLSysWellChiclet();
- // methods for updating a number of unread System notifications
- void incUreadSystemNotifications() { setCounter(++mUreadSystemNotifications); }
- void decUreadSystemNotifications() { setCounter(--mUreadSystemNotifications); }
void setToggleState(BOOL toggled);
protected:
- // connect counter updaters to the corresponding signals
- void connectCounterUpdatersToSignal(std::string notification_type);
LLSysWellChiclet(const Params& p);
friend class LLUICtrlFactory;
- S32 mUreadSystemNotifications;
-
protected:
LLButton* mButton;
S32 mCounter;
@@ -820,6 +813,14 @@ class LLNotificationChiclet : public LLSysWellChiclet
protected:
LLNotificationChiclet(const Params& p);
+ // connect counter updaters to the corresponding signals
+ void connectCounterUpdatersToSignal(const std::string& notification_type);
+
+ // methods for updating a number of unread System notifications
+ void incUreadSystemNotifications() { setCounter(++mUreadSystemNotifications); }
+ void decUreadSystemNotifications() { setCounter(--mUreadSystemNotifications); }
+
+ S32 mUreadSystemNotifications;
};
/**