LLLogChat Class Reference

#include <lllogchat.h>

List of all members.

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


Detailed Description

Definition at line 36 of file lllogchat.h.


Member Function Documentation

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

Definition at line 91 of file lllogchat.cpp.

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

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

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

Referenced by loadHistory(), and saveHistory().

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

Definition at line 70 of file lllogchat.cpp.

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

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

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

Definition at line 47 of file lllogchat.cpp.

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

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


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:28 2010 for Second Life Viewer by  doxygen 1.4.7