summaryrefslogtreecommitdiff
path: root/indra/newview/llexperiencelog.h
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2015-08-25 13:27:50 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2015-08-25 13:27:50 +0300
commit1086ce1f09c978dea93c0ff874f59d3e2c162a03 (patch)
tree28dc89a8404bfa9dd9f9a83a42657b7f1cad31bb /indra/newview/llexperiencelog.h
parent0bbb17226cc7e6d86c61d8e1cc34291343282d1f (diff)
MAINT-5478 FIXED Keep history according to calendar days and don't completely remove events while changing threshold.
Diffstat (limited to 'indra/newview/llexperiencelog.h')
-rw-r--r--indra/newview/llexperiencelog.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llexperiencelog.h b/indra/newview/llexperiencelog.h
index 1e473e27d5..ac227db336 100644
--- a/indra/newview/llexperiencelog.h
+++ b/indra/newview/llexperiencelog.h
@@ -59,6 +59,8 @@ public:
static void notify(LLSD& message);
static std::string getFilename();
static std::string getPermissionString(const LLSD& message, const std::string& base);
+ void setEventsToSave(LLSD new_events){mEventsToSave = new_events; }
+ bool isNotExpired(std::string& date);
protected:
LLExperienceLog();
void handleExperienceMessage(LLSD& message);
@@ -68,7 +70,10 @@ protected:
void saveEvents();
void eraseExpired();
+
+
LLSD mEvents;
+ LLSD mEventsToSave;
callback_signal_t mSignals;
callback_connection_t mNotifyConnection;
U32 mMaxDays;