summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-08-11 01:36:05 +0100
committerCarl Hetherington <cth@carlh.net>2015-08-11 19:39:04 +0100
commitb75b2a81c24716e21442178b77ee0276ddff843c (patch)
tree3e090cb6b27eba4afc113fc211c6efdb0cfbcc1b /src/lib/config.h
parenta983627b357e25478a524a20cafa4a68a4b9299f (diff)
Show a splash screen if config needs creating.
Diffstat (limited to 'src/lib/config.h')
-rw-r--r--src/lib/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/config.h b/src/lib/config.h
index eeb167d0d..70971085a 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -417,10 +417,11 @@ public:
static Config* instance ();
static void drop ();
static void restore_defaults ();
+ static bool have_existing ();
private:
Config ();
- boost::filesystem::path file () const;
+ static boost::filesystem::path file ();
void read ();
void set_defaults ();
void set_kdm_email_to_default ();