aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lllogchat.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/lllogchat.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/linden/indra/newview/lllogchat.h b/linden/indra/newview/lllogchat.h
index c2d16dc..8c21ff2 100644
--- a/linden/indra/newview/lllogchat.h
+++ b/linden/indra/newview/lllogchat.h
@@ -36,10 +36,18 @@
36class LLLogChat 36class LLLogChat
37{ 37{
38public: 38public:
39 // status values for callback function
40 enum ELogLineType {
41 LOG_EMPTY,
42 LOG_LINE,
43 LOG_END
44 };
39 static LLString timestamp(bool withdate = false); 45 static LLString timestamp(bool withdate = false);
40 static LLString makeLogFileName(LLString(filename)); 46 static LLString makeLogFileName(LLString(filename));
41 static void saveHistory(LLString filename, LLString line); 47 static void saveHistory(LLString filename, LLString line);
42 static void loadHistory(LLString filename, void (*callback)(LLString,void*),void* userdata); 48 static void loadHistory(LLString filename,
49 void (*callback)(ELogLineType,LLString,void*),
50 void* userdata);
43}; 51};
44 52
45#endif 53#endif