diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-08-21 20:06:53 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-08-21 20:06:53 +0000 |
commit | f8847c2493e899ad2e7527803354bc47ba6ac736 (patch) | |
tree | e82d023e33f19bd64e9e8b75dfaa3a1f0b5bff11 /plugins/PluginUpdater/src/stdafx.h | |
parent | d131ea1bc4bce30516a2f9cbb7579f1174f46389 (diff) |
PluginUpdater:
- Implemented "Backup profile after update" option
- minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@15007 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/stdafx.h')
-rw-r--r-- | plugins/PluginUpdater/src/stdafx.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/plugins/PluginUpdater/src/stdafx.h b/plugins/PluginUpdater/src/stdafx.h index eda11fe2b8..a4376d5101 100644 --- a/plugins/PluginUpdater/src/stdafx.h +++ b/plugins/PluginUpdater/src/stdafx.h @@ -39,6 +39,7 @@ Boston, MA 02111-1307, USA. #include <m_assocmgr.h>
#include <win2k.h>
#include <m_pluginupdater.h>
+#include <m_autobackups.h>
#include <m_folders.h>
@@ -85,7 +86,7 @@ typedef OBJLIST<FILEINFO> FILELIST; extern struct PlugOptions
{
- BYTE bUpdateOnStartup, bUpdateOnPeriod, bOnlyOnceADay, bForceRedownload, bSilentMode;
+ BYTE bUpdateOnStartup, bUpdateOnPeriod, bOnlyOnceADay, bForceRedownload, bSilentMode, bBackup;
BOOL bSilent;
BYTE bPeriodMeasure;
@@ -102,12 +103,21 @@ extern struct PlugOptions #else
#define DEFAULT_ONLYONCEADAY 1
#endif
+#ifdef _WIN64
+#define PLATFORM "64"
+#else
+#define PLATFORM "32"
+#endif
-#define DEFAULT_UPDATE_URL "http://miranda-ng.org/distr/stable/x%platform%"
-#define DEFAULT_UPDATE_URL_TRUNK "http://miranda-ng.org/distr/x%platform%"
-#define DEFAULT_UPDATE_URL_TRUNK_SYMBOLS "http://miranda-ng.org/distr/pdb_x%platform%"
+#define DEFAULT_UPDATE_URL "http://miranda-ng.org/distr/stable/x" PLATFORM
+#define DEFAULT_UPDATE_URL_TRUNK "http://miranda-ng.org/distr/x" PLATFORM
+#define DEFAULT_UPDATE_URL_TRUNK_SYMBOLS "http://miranda-ng.org/distr/pdb_x" PLATFORM
#define PLUGIN_INFO_URL _T("http://miranda-ng.org/p/%s")
+#define DEFAULT_UPDATE_URL_OLD "http://miranda-ng.org/distr/stable/x%platform%"
+#define DEFAULT_UPDATE_URL_TRUNK_OLD "http://miranda-ng.org/distr/x%platform%"
+#define DEFAULT_UPDATE_URL_TRUNK_SYMBOLS_OLD "http://miranda-ng.org/distr/pdb_x%platform%"
+
#define UPDATE_MODE_CUSTOM 0
#define UPDATE_MODE_STABLE 1
#define UPDATE_MODE_TRUNK 2
@@ -216,8 +226,6 @@ void InitTimer(void *type); bool unzip(const TCHAR *ptszZipFile, TCHAR *ptszDestPath, TCHAR *ptszBackPath,bool ch);
void strdel(TCHAR *parBuffer, int len);
-INT_PTR ParseUriService(WPARAM wParam, LPARAM lParam);
-
///////////////////////////////////////////////////////////////////////////////
int CalculateModuleHash(const TCHAR *tszFileName, char *dest);
|