Added some fixes

More work on update window.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@700 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
coppro
2007-09-15 03:38:54 +00:00
parent 420e95ba1f
commit 99d385eb00
13 changed files with 90 additions and 32 deletions
+12
View File
@@ -33,6 +33,15 @@ enum CheckUpdates
, CHECK_NEVER
};
/// Where to install to?
enum InstallType
{ INSTALL_DEFAULT // the platform default.
, INSTALL_LOCAL // install to the user's files
, INSTALL_GLOBAL // install to the global files
};
bool parse_enum(const String&, InstallType&);
/// How to handle filename conflicts
enum FilenameConflicts
{ CONFLICT_KEEP_OLD // always keep old file
@@ -161,6 +170,9 @@ class Settings {
CheckUpdates check_updates;
String website_url;
// --------------------------------------------------- : Installation settings
InstallType install_type;
// --------------------------------------------------- : The io
/// Read the settings file from the standard location