LLLogChat Class Reference

#include <lllogchat.h>

List of all members.

Public Types

enum  ELogLineType { LOG_EMPTY, LOG_LINE, LOG_END }

Static Public Member Functions

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)(ELogLineType, LLString, void *), void *userdata)


Detailed Description

Definition at line 36 of file lllogchat.h.


Member Enumeration Documentation

Enumerator:
LOG_EMPTY 
LOG_LINE 
LOG_END 

Definition at line 40 of file lllogchat.h.


Member Function Documentation

LLString LLLogChat::timestamp ( bool  withdate = false  )  [static]

Definition at line 48 of file lllogchat.cpp.

References gPacificDaylightTime, llformat(), time_corrected(), tut::tm(), and utc_to_pacific_time().

Referenced by LLFloaterIMPanel::addHistoryLine(), and log_chat_text().

Here is the call graph for this function:

Here is the caller graph for this function:

static LLString LLLogChat::makeLogFileName ( LLString(filename)   )  [static]

Referenced by loadHistory(), and saveHistory().

Here is the caller graph for this function:

void LLLogChat::saveHistory ( LLString  filename,
LLString  line 
) [static]

Definition at line 71 of file lllogchat.cpp.

References LLFile::fopen(), llendl, llinfos, and makeLogFileName().

Referenced by LLFloaterIMPanel::addHistoryLine(), and log_chat_text().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLLogChat::loadHistory ( LLString  filename,
void(*)(ELogLineType, LLString, void *)  callback,
void *  userdata 
) [static]

Definition at line 92 of file lllogchat.cpp.

References FALSE, LLFile::fopen(), llendl, llerrs, LOG_EMPTY, LOG_END, LOG_LINE, LOG_RECALL_SIZE, makeLogFileName(), S32, and TRUE.

Referenced by LLFloaterIMPanel::init(), and LLFloaterChat::loadHistory().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:51:52 2008 for SecondLife by  doxygen 1.5.5