From 3d96e5ddfbb3074e4b618087c1302fe3148071bc Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sat, 24 Oct 2009 14:28:49 -0600 Subject: Make homedir accessible from other files --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main.cpp') 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) { -- cgit v1.2.3-70-g09d2