aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llvfs/lldir.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llvfs/lldir.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/llvfs/lldir.h b/linden/indra/llvfs/lldir.h
index 2012f1b..60188f3 100644
--- a/linden/indra/llvfs/lldir.h
+++ b/linden/indra/llvfs/lldir.h
@@ -79,12 +79,14 @@ class LLDir
79 const std::string &getChatLogsDir() const; // Location of the chat logs dir. 79 const std::string &getChatLogsDir() const; // Location of the chat logs dir.
80 const std::string &getPerAccountChatLogsDir() const; // Location of the per account chat logs dir. 80 const std::string &getPerAccountChatLogsDir() const; // Location of the per account chat logs dir.
81 const std::string &getTempDir() const; // Common temporary directory 81 const std::string &getTempDir() const; // Common temporary directory
82 const std::string getCacheDir(bool get_default = false) const; // Location of the cache.
82 const std::string &getCAFile() const; // File containing TLS certificate authorities 83 const std::string &getCAFile() const; // File containing TLS certificate authorities
83 const std::string &getDirDelimiter() const; // directory separator for platform (ie. '\' or '/' or ':') 84 const std::string &getDirDelimiter() const; // directory separator for platform (ie. '\' or '/' or ':')
84 const std::string &getSkinDir() const; // User-specified skin folder. 85 const std::string &getSkinDir() const; // User-specified skin folder.
85 86
86 // Expanded filename 87 // Expanded filename
87 std::string getExpandedFilename(ELLPath location, const std::string &filename) const; 88 std::string getExpandedFilename(ELLPath location, const std::string &filename) const;
89 std::string getExpandedFilename(ELLPath location, const std::string &subdir, const std::string &filename) const;
88 90
89 // random filename in common temporary directory 91 // random filename in common temporary directory
90 std::string getTempFilename() const; 92 std::string getTempFilename() const;
@@ -93,6 +95,7 @@ class LLDir
93 virtual void setPerAccountChatLogsDir(const std::string &first, const std::string &last); // Set the per user chat log directory. 95 virtual void setPerAccountChatLogsDir(const std::string &first, const std::string &last); // Set the per user chat log directory.
94 virtual void setLindenUserDir(const std::string &first, const std::string &last); // Set the linden user dir to this user's dir 96 virtual void setLindenUserDir(const std::string &first, const std::string &last); // Set the linden user dir to this user's dir
95 virtual void setSkinFolder(const std::string &skin_folder); 97 virtual void setSkinFolder(const std::string &skin_folder);
98 virtual bool setCacheDir(const std::string &path);
96 99
97 virtual void dumpCurrentDirectories(); 100 virtual void dumpCurrentDirectories();
98 101
@@ -110,6 +113,7 @@ protected:
110 std::string mChatLogsDir; // Location for chat logs. 113 std::string mChatLogsDir; // Location for chat logs.
111 std::string mCAFile; // Location of the TLS certificate authority PEM file. 114 std::string mCAFile; // Location of the TLS certificate authority PEM file.
112 std::string mTempDir; 115 std::string mTempDir;
116 std::string mCacheDir;
113 std::string mDirDelimiter; 117 std::string mDirDelimiter;
114 std::string mSkinDir; // Location for u ser-specified skin info. 118 std::string mSkinDir; // Location for u ser-specified skin info.
115}; 119};