blob: 0836239105349330e44d73c98a9cabb4d8f00ed4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
#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%"
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);
void BackupThread(void* backup_filename);
extern HINSTANCE hInst;
extern TCHAR* profilePath;
#endif
|