diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-10-24 14:28:49 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-10-24 14:28:49 -0600 |
commit | 3d96e5ddfbb3074e4b618087c1302fe3148071bc (patch) | |
tree | 047ddd0fc52ec646900f5f76b9630fbb734207b5 /src/main.cpp | |
parent | f5ea5b40a465e28d4c97a5f040dba2b4a8da60f8 (diff) | |
download | mana-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.cpp | 5 |
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) { |