summaryrefslogtreecommitdiff
path: root/plugins/Db_autobackups/src/headers.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Db_autobackups/src/headers.h')
-rw-r--r--plugins/Db_autobackups/src/headers.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/plugins/Db_autobackups/src/headers.h b/plugins/Db_autobackups/src/headers.h
new file mode 100644
index 0000000000..eab2ffc667
--- /dev/null
+++ b/plugins/Db_autobackups/src/headers.h
@@ -0,0 +1,50 @@
+#ifndef _HEADERS_H
+#define _HEADERS_H
+
+#define _CRT_SECURE_NO_DEPRECATE
+#define MIRANDA_VER 0x0A00
+
+#include <m_stdhdr.h>
+#include <windows.h>
+#include <shlobj.h>
+#include <time.h>
+#include <commctrl.h>
+
+#include <m_system.h>
+#include <newpluginapi.h>
+#include <m_clist.h>
+#include <m_database.h>
+#include <m_langpack.h>
+#include <m_utils.h>
+#include <m_options.h>
+#include <m_popup.h>
+#include <m_icolib.h>
+#include "m_folders.h"
+#include <win2k.h>
+
+#include "options.h"
+#include "resource.h"
+
+#define MS_AB_BACKUP "AB/Backup"
+#define MS_AB_BACKUPTRGR "AB/Backuptrg"
+#define MS_AB_SAVEAS "AB/SaveAs"
+
+
+#define SUB_DIR L"\\AutoBackups"
+#define DIR L"%miranda_userdata%"
+
+
+void ShowPopup(TCHAR* text, TCHAR* header);
+INT_PTR DBSaveAs(WPARAM wParam, LPARAM lParam);
+INT_PTR ABService(WPARAM wParam, LPARAM lParam);
+int CreateDirectoryTree(TCHAR *szDir);
+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);
+
+extern HINSTANCE hInst;
+extern TCHAR* profilePath;
+
+#endif