llurlhistory.h

Go to the documentation of this file.
00001 
00032 #ifndef LLURLHISTORY_H
00033 #define LLURLHISTORY_H
00034 
00035 #include "llstring.h"
00036 
00037 class LLSD;
00038 
00039 class LLURLHistory
00040 {
00041 public:
00042         // Loads an xml file of URLs.  Currently only supports Parcel URL history
00043         static bool loadFile(const LLString& filename);
00044 
00045         // Saves the current history to XML
00046         static bool saveFile(const LLString& filename);
00047 
00048         static LLSD getURLHistory(const std::string& collection);
00049 
00050         static void addURL(const std::string& collection, const std::string& url);
00051         static void removeURL(const std::string& collection, const std::string& url);
00052         static void clear(const std::string& collection);
00053 
00054         static void limitSize(const std::string& collection);
00055 
00056 private:
00057         static LLSD sHistorySD;
00058 };
00059 
00060 #endif // LLURLHISTORY_H

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