diff options
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);
|