LLURLHistory Class Reference

#include <llurlhistory.h>

Collaboration diagram for LLURLHistory:

Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static bool loadFile (const LLString &filename)
static bool saveFile (const LLString &filename)
static LLSD getURLHistory (const std::string &collection)
static void addURL (const std::string &collection, const std::string &url)
static void removeURL (const std::string &collection, const std::string &url)
static void clear (const std::string &collection)
static void limitSize (const std::string &collection)

Static Private Attributes

static LLSD sHistorySD


Detailed Description

Definition at line 39 of file llurlhistory.h.


Member Function Documentation

bool LLURLHistory::loadFile ( const LLString filename  )  [static]

Definition at line 46 of file llurlhistory.cpp.

References LLSDSerialize::fromXML(), gDirUtilp, LLDir::getDirDelimiter(), LLDir::getLindenUserDir(), LLSD::isUndefined(), llendl, llifstream, llinfos, and sHistorySD.

Referenced by idle_startup().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLURLHistory::saveFile ( const LLString filename  )  [static]

Definition at line 74 of file llurlhistory.cpp.

References gDirUtilp, LLDir::getDirDelimiter(), LLDir::getLindenUserDir(), llendl, llofstream, llwarns, sHistorySD, and LLSDSerialize::toXML().

Referenced by LLAppViewer::cleanup().

Here is the call graph for this function:

Here is the caller graph for this function:

LLSD LLURLHistory::getURLHistory ( const std::string &  collection  )  [static]

Definition at line 92 of file llurlhistory.cpp.

References LLSD::has(), and sHistorySD.

Referenced by LLFloaterURLEntry::buildURLHistory(), LLFloaterMediaBrowser::buildURLHistory(), and LLFloaterURLEntry::LLFloaterURLEntry().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLURLHistory::addURL ( const std::string &  collection,
const std::string &  url 
) [static]

Definition at line 102 of file llurlhistory.cpp.

References LLSD::insert(), limitSize(), and sHistorySD.

Referenced by LLFloaterURLEntry::onBtnOK(), and LLFloaterMediaBrowser::onLocationChange().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLURLHistory::removeURL ( const std::string &  collection,
const std::string &  url 
) [static]

Definition at line 111 of file llurlhistory.cpp.

References LLSD::asString(), LLSD::beginArray(), LLSD::endArray(), LLSD::erase(), sHistorySD, and LLSD::size().

Referenced by LLFloaterURLEntry::onBtnOK(), and LLFloaterMediaBrowser::onLocationChange().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLURLHistory::clear ( const std::string &  collection  )  [static]

Definition at line 125 of file llurlhistory.cpp.

References sHistorySD.

Referenced by LLFloaterURLEntry::callback_clear_url_list().

Here is the caller graph for this function:

void LLURLHistory::limitSize ( const std::string &  collection  )  [static]

Definition at line 130 of file llurlhistory.cpp.

References LLSD::erase(), MAX_URL_COUNT, and sHistorySD.

Referenced by addURL().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

LLSD LLURLHistory::sHistorySD [static, private]

Definition at line 57 of file llurlhistory.h.

Referenced by addURL(), clear(), getURLHistory(), limitSize(), loadFile(), removeURL(), and saveFile().


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

Generated on Fri May 16 09:20:40 2008 for SecondLife by  doxygen 1.5.5