#include <lllogchat.h>
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) |
Definition at line 36 of file lllogchat.h.
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().
Referenced by loadHistory(), and saveHistory().
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().