summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-13 23:30:13 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-13 23:36:55 +0300
commitd589fe649959239c268b1affddee8a453f96e969 (patch)
tree5cf63f44ad5191df439564919dafdf72145d16de /src/client.h
parent7ad6bc89291c198122f087a11fd9ab585ea87034 (diff)
downloadplus-d589fe649959239c268b1affddee8a453f96e969.tar.gz
plus-d589fe649959239c268b1affddee8a453f96e969.tar.bz2
plus-d589fe649959239c268b1affddee8a453f96e969.tar.xz
plus-d589fe649959239c268b1affddee8a453f96e969.zip
Add support for temp dir.
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h
index 87786856e..3bfd68fa5 100644
--- a/src/client.h
+++ b/src/client.h
@@ -230,6 +230,9 @@ public:
static const std::string &getLocalDataDirectory()
{ return instance()->mLocalDataDir; }
+ static const std::string &getTempDirectory()
+ { return instance()->mTempDir; }
+
static const std::string &getScreenshotDirectory()
{ return instance()->mScreenshotDir; }
@@ -315,6 +318,8 @@ private:
void initLocalDataDir();
+ void initTempDir();
+
void initConfigDir();
void initUpdatesDir();
@@ -342,6 +347,7 @@ private:
std::string mPackageDir;
std::string mConfigDir;
std::string mLocalDataDir;
+ std::string mTempDir;
std::string mUpdateHost;
std::string mUpdatesDir;
std::string mScreenshotDir;