summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/Common.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-10-07 18:41:08 +0000
committerRobert Pösel <robyer@seznam.cz>2014-10-07 18:41:08 +0000
commite7a40f49fabfb003a2603b08a59f205ba1a1a478 (patch)
treee1e04e7d3ef0b5c8e04f62e4659e508cdec58cab /plugins/PluginUpdater/src/Common.h
parentb4b974a256953c3e97a7e7b8426740e98fd4541f (diff)
PluginUpdater:
- Fix setting custom URL ("UpdateURL" is not same as "UpdateUrl") - Use constants for often used db setting names - Version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@10733 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Common.h')
-rw-r--r--plugins/PluginUpdater/src/Common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/Common.h b/plugins/PluginUpdater/src/Common.h
index e45e885fdd..7b700ae3f0 100644
--- a/plugins/PluginUpdater/src/Common.h
+++ b/plugins/PluginUpdater/src/Common.h
@@ -121,6 +121,13 @@ struct PlugOptions
#define UPDATE_MODE_TRUNK_SYMBOLS 3
#define UPDATE_MODE_MAX_VALUE 3 // when adding new mode, increment this number
+#define DB_SETTING_UPDATE_MODE "UpdateMode"
+#define DB_SETTING_UPDATE_URL "UpdateURL"
+#define DB_SETTING_REDOWNLOAD "ForceRedownload"
+#define DB_SETTING_NEED_RESTART "NeedRestart"
+#define DB_SETTING_RESTART_COUNT "RestartCount"
+#define DB_SETTING_LAST_UPDATE "LastUpdate"
+#define DB_MODULE_FILES MODNAME "Files"
#define MAX_RETRIES 3