diff options
author | George Hazan <george.hazan@gmail.com> | 2012-10-10 16:11:36 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-10-10 16:11:36 +0000 |
commit | 12be1d94b988efbaee17bc1cdf1667c870d1a53b (patch) | |
tree | a9392e334a3d88b4159efbc9eb3e66f859506ab7 /plugins/PluginUpdater/src/Common.h | |
parent | fbe102bea6ca57970d1de4a2c6cc349d3f6ff71d (diff) |
intermediate variant of Updater without problems with core
git-svn-id: http://svn.miranda-ng.org/main/trunk@1865 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Common.h')
-rw-r--r-- | plugins/PluginUpdater/src/Common.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/Common.h b/plugins/PluginUpdater/src/Common.h index eeffd250db..1e05b9b336 100644 --- a/plugins/PluginUpdater/src/Common.h +++ b/plugins/PluginUpdater/src/Common.h @@ -128,6 +128,9 @@ int OnFoldersChanged(WPARAM, LPARAM); int OnPreShutdown(WPARAM, LPARAM);
int OptInit(WPARAM, LPARAM);
+void PrepareFileName(TCHAR *dest, size_t destSize, const TCHAR *ptszPath, const TCHAR *ptszFileName);
+void BackupFile(TCHAR *ptszSrcFileName, TCHAR *ptszBackFileName);
+
void DoCheck(int iFlag);
BOOL DownloadFile(LPCTSTR tszURL, LPCTSTR tszLocal);
void ShowPopup(HWND hDlg, LPCTSTR Title, LPCTSTR Text, int Number, int ActType);
@@ -141,7 +144,7 @@ INT_PTR EmptyFolder(WPARAM wParam,LPARAM lParam); INT_PTR CALLBACK DlgUpdate(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
INT_PTR CALLBACK DlgMsgPop(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
-bool unzip(const TCHAR *ptszOldFileName, const TCHAR *ptszZipFile, TCHAR *ptszDestPath, TCHAR *ptszBackPath);
+bool unzip(const TCHAR *ptszZipFile, TCHAR *ptszDestPath, TCHAR *ptszBackPath);
void strdel(TCHAR *parBuffer, int len);
#if MIRANDA_VER < 0x0A00
|