diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-26 18:32:51 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-26 18:32:51 +0000 |
commit | 17f839d0a607c05ae390d6306d81ecea19c7ea45 (patch) | |
tree | f196352e1f4f819ac3ac3f95c0c0810d5cc9fceb /plugins/Db_autobackups | |
parent | 8b437fdb2e61c4f94e01eb727f6a4c68ba12c0b7 (diff) |
Svc_vi x64 compilation fix, Db_autobackups header returned
git-svn-id: http://svn.miranda-ng.org/main/trunk@185 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db_autobackups')
-rw-r--r-- | plugins/Db_autobackups/headers.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/plugins/Db_autobackups/headers.h b/plugins/Db_autobackups/headers.h new file mode 100644 index 0000000000..5b79b896fd --- /dev/null +++ b/plugins/Db_autobackups/headers.h @@ -0,0 +1,53 @@ +#ifndef _HEADERS_H
+#define _HEADERS_H
+
+#define _CRT_SECURE_NO_DEPRECATE
+#define MIRANDA_VER 0x0900
+#define MIRANDA_CUSTOM_LP
+
+#include <m_stdhdr.h>
+#include <windows.h>
+#include <newpluginapi.h>
+#include <win2k.h>
+#include <time.h>
+#include <commctrl.h>
+#include <m_clist.h>
+#include <m_plugins.h>
+#include <m_system.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 "options.h"
+#include "resource.h"
+
+#define MS_AB_BACKUP "AB/Backup"
+#define MS_AB_BACKUPTRGR "AB/Backuptrg"
+#define MS_AB_SAVEAS "AB/SaveAs"
+
+#ifdef _UNICODE
+ #define SUB_DIR L"\\AutoBackups"
+ #define DIR L"%miranda_userdata%"
+#else
+ #define SUB_DIR "\\AutoBackups"
+ #define DIR "%miranda_userdata%"
+#endif
+
+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;
+TCHAR* profilePath;
+
+#endif
|