summaryrefslogtreecommitdiff
path: root/plugins/Db_autobackups/src/headers.h
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-12-04 23:42:36 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-12-04 23:42:36 +0000
commite63926f79d51119b829d683983e562527f7dd10a (patch)
tree4ad26cc425798912f9391d9166cf32c6ea573c17 /plugins/Db_autobackups/src/headers.h
parenta16429430c5cd7b20c6790c0f1084a8df6bbc9f4 (diff)
Db_autobackups: multiple changes
+ varios fixs git-svn-id: http://svn.miranda-ng.org/main/trunk@11245 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db_autobackups/src/headers.h')
-rw-r--r--plugins/Db_autobackups/src/headers.h33
1 files changed, 19 insertions, 14 deletions
diff --git a/plugins/Db_autobackups/src/headers.h b/plugins/Db_autobackups/src/headers.h
index faec38492e..cb03254a30 100644
--- a/plugins/Db_autobackups/src/headers.h
+++ b/plugins/Db_autobackups/src/headers.h
@@ -22,25 +22,30 @@
#include "resource.h"
#include "version.h"
+
#define MS_AB_BACKUP "AB/Backup"
#define MS_AB_SAVEAS "AB/SaveAs"
-#define SUB_DIR L"\\AutoBackups"
-#define DIR L"%miranda_userdata%"
+#define SUB_DIR L"\\AutoBackups"
+#define DIR L"%miranda_userdata%"
+
+
+int SetBackupTimer(void);
+int OptionsInit(WPARAM wParam, LPARAM lParam);
+int LoadOptions(void);
+void BackupStart(TCHAR *backup_filename);
+
+
+extern HINSTANCE g_hInstance;
+extern TCHAR *profilePath;
+
+
+static IconItem iconList[] = {
+ { LPGEN("Backup profile"), "backup", IDI_ICON1 },
+ { LPGEN("Save profile as..."), "saveas", IDI_ICON1 }
+};
-void ShowPopup(TCHAR* ptszText, TCHAR* ptszHeader, TCHAR* ptszPath);
-INT_PTR DBSaveAs(WPARAM wParam, LPARAM lParam);
-INT_PTR ABService(WPARAM wParam, LPARAM lParam);
-int Backup(TCHAR* backup_filename);
-int SetBackupTimer(void);
-int OptionsInit(WPARAM wParam, LPARAM lParam);
-int LoadOptions(void);
-HWND CreateToolTip(HWND hwndParent, LPTSTR ptszText, LPTSTR ptszTitle);
-void BackupThread(void* backup_filename);
-bool MakeZip(LPCTSTR szSource, LPCTSTR szDest);
-extern HINSTANCE hInst;
-extern TCHAR* profilePath;
#endif