summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-06-29 14:31:56 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-06-29 14:31:56 +0300
commit0d6ff4d0ed05a2a35cd7ade12e2c924704211bc8 (patch)
tree72cc7e24988aa9f35691b1d0bdccbc172208db70 /src
parent6233a4777edce1b30af96035e31ae3df074b15cb (diff)
safer method of backing up databases instead of trying to read them manually
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/MDatabaseCommon.cpp5
-rw-r--r--src/mir_app/src/mir_app.def1
-rw-r--r--src/mir_app/src/mir_app64.def1
3 files changed, 7 insertions, 0 deletions
diff --git a/src/mir_app/src/MDatabaseCommon.cpp b/src/mir_app/src/MDatabaseCommon.cpp
index db053e03fd..6eb0e0582a 100644
--- a/src/mir_app/src/MDatabaseCommon.cpp
+++ b/src/mir_app/src/MDatabaseCommon.cpp
@@ -121,6 +121,11 @@ BOOL MDatabaseCommon::Compact(void)
return ERROR_NOT_SUPPORTED;
}
+BOOL MDatabaseCommon::Backup(LPCWSTR)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
/////////////////////////////////////////////////////////////////////////////////////////
// Contacts
diff --git a/src/mir_app/src/mir_app.def b/src/mir_app/src/mir_app.def
index 7b06a851ec..950ef2f568 100644
--- a/src/mir_app/src/mir_app.def
+++ b/src/mir_app/src/mir_app.def
@@ -628,3 +628,4 @@ Profile_GetSetting @656
Profile_GetSettingInt @657
Netlib_GetUserSettingsByName @658
Netlib_SetUserSettingsByName @659
+?Backup@MDatabaseCommon@@UAGHPB_W@Z @660 NONAME
diff --git a/src/mir_app/src/mir_app64.def b/src/mir_app/src/mir_app64.def
index a58eaaa30d..f0153a3013 100644
--- a/src/mir_app/src/mir_app64.def
+++ b/src/mir_app/src/mir_app64.def
@@ -628,3 +628,4 @@ Profile_GetSetting @656
Profile_GetSettingInt @657
Netlib_GetUserSettingsByName @658
Netlib_SetUserSettingsByName @659
+?Backup@MDatabaseCommon@@UEAAHPEB_W@Z @660 NONAME