summaryrefslogtreecommitdiff
path: root/plugins/Db_autobackups/src/stdafx.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-07-24 06:48:22 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-07-24 06:48:22 +0000
commitf44cdbe4b569680ffa2e18c5e24f2ba5ed6b5c8f (patch)
treef6bd75eec42376c5c0d7aeb9c18489880b97d758 /plugins/Db_autobackups/src/stdafx.h
parentf89df847a0c592b93bf15a8d37d0727d379d4d5b (diff)
db_autobackups: common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@14661 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db_autobackups/src/stdafx.h')
-rw-r--r--plugins/Db_autobackups/src/stdafx.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/plugins/Db_autobackups/src/stdafx.h b/plugins/Db_autobackups/src/stdafx.h
new file mode 100644
index 0000000000..a3bc9d04a9
--- /dev/null
+++ b/plugins/Db_autobackups/src/stdafx.h
@@ -0,0 +1,48 @@
+#ifndef _HEADERS_H
+#define _HEADERS_H
+
+#define _CRT_SECURE_NO_DEPRECATE
+
+#include <windows.h>
+#include <shlobj.h>
+#include <time.h>
+
+#include <newpluginapi.h>
+#include <m_clist.h>
+#include <m_database.h>
+#include <m_langpack.h>
+#include <m_options.h>
+#include <m_popup.h>
+#include <m_icolib.h>
+#include <win2k.h>
+
+#include <m_folders.h>
+
+#include "options.h"
+#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%"
+
+
+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 }
+};
+
+#endif