#ifndef _HEADERS_H #define _HEADERS_H #define _CRT_SECURE_NO_DEPRECATE #include #include #include #include #include #include #include #include #include #include #include #include #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 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