diff options
author | mberezhnoy <mberezhnoy@productengine.com> | 2013-02-06 10:03:42 +0200 |
---|---|---|
committer | mberezhnoy <mberezhnoy@productengine.com> | 2013-02-06 10:03:42 +0200 |
commit | 3781615afa6db7289f26f404885ac614c7f1cee0 (patch) | |
tree | 7dd2cade0b1a59210a9089d31820cf75e089e0cf /indra/newview/llconversationlog.h | |
parent | 2fe6fce0183904936a3af7d9ce707b60b34895d1 (diff) |
CHUI-597 (Messages shown in Conversation Log are inaccurate)
Added messages, for now they're displayed in two cases:
1) no log entries, logging disabled
2) no log entries, logging enabled
Case when there are existing log entries and
logging is disabled is still under discussion
Diffstat (limited to 'indra/newview/llconversationlog.h')
-rw-r--r-- | indra/newview/llconversationlog.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llconversationlog.h b/indra/newview/llconversationlog.h index 65a18c02e5..d5b6eccb29 100644 --- a/indra/newview/llconversationlog.h +++ b/indra/newview/llconversationlog.h @@ -141,6 +141,9 @@ public: void onClearLog(); void onClearLogResponse(const LLSD& notification, const LLSD& response); + bool getIsLoggingEnabled() { return mLoggingEnabled; } + bool isLogEmpty() { return mConversations.empty(); } + private: LLConversationLog(); @@ -187,6 +190,8 @@ private: boost::signals2::connection mNewMessageSignalConnection; boost::signals2::connection mAvatarNameCacheConnection; + + bool mLoggingEnabled; }; class LLConversationLogObserver |