summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-10-24 14:28:49 -0600
committerJared Adams <jaxad0127@gmail.com>2009-10-24 14:28:49 -0600
commit3d96e5ddfbb3074e4b618087c1302fe3148071bc (patch)
tree047ddd0fc52ec646900f5f76b9630fbb734207b5 /src/main.cpp
parentf5ea5b40a465e28d4c97a5f040dba2b4a8da60f8 (diff)
downloadMana-3d96e5ddfbb3074e4b618087c1302fe3148071bc.tar.gz
Mana-3d96e5ddfbb3074e4b618087c1302fe3148071bc.tar.bz2
Mana-3d96e5ddfbb3074e4b618087c1302fe3148071bc.tar.xz
Mana-3d96e5ddfbb3074e4b618087c1302fe3148071bc.zip
Make homedir accessible from other files
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 8ecac127..f2d61f07 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -694,6 +694,11 @@ public:
} // namespace
+const std::string &getHomeDirectory()
+{
+ return homeDir;
+}
+
// TODO Find some nice place for these functions
static void accountLogin(LoginData *loginData)
{