summaryrefslogtreecommitdiff
path: root/indra/newview/llexperiencelog.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llexperiencelog.h')
-rw-r--r--indra/newview/llexperiencelog.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/newview/llexperiencelog.h b/indra/newview/llexperiencelog.h
index 26ffab49f9..5bc47c4e8d 100644
--- a/indra/newview/llexperiencelog.h
+++ b/indra/newview/llexperiencelog.h
@@ -34,13 +34,19 @@
class LLExperienceLog : public LLSingleton<LLExperienceLog>
{
public:
+ typedef boost::signals2::signal<void(LLSD&)>
+ callback_signal_t;
+ typedef callback_signal_t::slot_type callback_slot_t;
+ typedef boost::signals2::connection callback_connection_t;
+ callback_connection_t addUpdateSignal(callback_slot_t cb);
+
void initialize();
U32 getMaxDays() const { return mMaxDays; }
void setMaxDays(U32 val);
bool getNotifyNewEvent() const { return mNotifyNewEvent; }
- void setNotifyNewEvent(bool val) { mNotifyNewEvent = val; }
+ void setNotifyNewEvent(bool val);
U32 getPageSize() const { return mPageSize; }
void setPageSize(U32 val) { mPageSize = val; }
@@ -63,6 +69,8 @@ protected:
void eraseExpired();
LLSD mEvents;
+ callback_signal_t mSignals;
+ callback_connection_t mNotifyConnection;
U32 mMaxDays;
U32 mPageSize;
bool mNotifyNewEvent;