summaryrefslogtreecommitdiff
path: root/indra/newview/lllogchat.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/lllogchat.h')
-rw-r--r--indra/newview/lllogchat.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/newview/lllogchat.h b/indra/newview/lllogchat.h
index d5fd7797e0..0fcee48dfc 100644
--- a/indra/newview/lllogchat.h
+++ b/indra/newview/lllogchat.h
@@ -36,10 +36,18 @@
class LLLogChat
{
public:
+ // status values for callback function
+ enum ELogLineType {
+ LOG_EMPTY,
+ LOG_LINE,
+ LOG_END
+ };
static LLString timestamp(bool withdate = false);
static LLString makeLogFileName(LLString(filename));
static void saveHistory(LLString filename, LLString line);
- static void loadHistory(LLString filename, void (*callback)(LLString,void*),void* userdata);
+ static void loadHistory(LLString filename,
+ void (*callback)(ELogLineType,LLString,void*),
+ void* userdata);
};
#endif