diff options
author | George Hazan <george.hazan@gmail.com> | 2013-05-19 18:19:42 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-05-19 18:19:42 +0000 |
commit | 3489e949e30e75d1f93610b2c6015b4ff95aefa2 (patch) | |
tree | 2ff6cda94a034b89358eea8279524be544b826f9 /plugins/PluginUpdater/src/Common.h | |
parent | faceb04e370ff43eb8b2096d08f7375a9c292f2f (diff) |
universal plugin downloader for the PluginUpdater plugin
git-svn-id: http://svn.miranda-ng.org/main/trunk@4745 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Common.h')
-rw-r--r-- | plugins/PluginUpdater/src/Common.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/Common.h b/plugins/PluginUpdater/src/Common.h index 9a54f61846..8c101c5e84 100644 --- a/plugins/PluginUpdater/src/Common.h +++ b/plugins/PluginUpdater/src/Common.h @@ -114,7 +114,7 @@ extern HINSTANCE hInst; extern TCHAR tszRoot[MAX_PATH], tszDialogMsg[2048], tszTempPath[MAX_PATH];
extern FILEINFO *pFileInfo;
-extern HANDLE hCheckThread, hPluginUpdaterFolder;
+extern HANDLE hCheckThread, hListThread, hPluginUpdaterFolder;
extern PlugOptions opts;
extern POPUP_OPTIONS PopupOptions;
extern aPopups PopupsList[POPUPS];
@@ -135,16 +135,20 @@ int OptInit(WPARAM, LPARAM); void BackupFile(TCHAR *ptszSrcFileName, TCHAR *ptszBackFileName);
void DoCheck(int iFlag);
+void DoGetList(int iFlag);
BOOL DownloadFile(LPCTSTR tszURL, LPCTSTR tszLocal, int CRCsum);
void ShowPopup(HWND hDlg, LPCTSTR Title, LPCTSTR Text, int Number, int ActType);
void __stdcall RestartMe(void*);
+void __stdcall OpenPluginOptions(void*);
BOOL AllowUpdateOnStartup();
void InitTimer();
INT_PTR MenuCommand(WPARAM wParam,LPARAM lParam);
+INT_PTR ShowListCommand(WPARAM wParam,LPARAM lParam);
INT_PTR EmptyFolder(WPARAM wParam,LPARAM lParam);
INT_PTR CALLBACK DlgUpdate(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK DlgList(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
INT_PTR CALLBACK DlgMsgPop(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
bool unzip(const TCHAR *ptszZipFile, TCHAR *ptszDestPath, TCHAR *ptszBackPath);
|