From 0d6ff4d0ed05a2a35cd7ade12e2c924704211bc8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 29 Jun 2018 14:31:56 +0300 Subject: safer method of backing up databases instead of trying to read them manually --- include/m_db_int.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/m_db_int.h b/include/m_db_int.h index d0b66e8f25..591985573a 100644 --- a/include/m_db_int.h +++ b/include/m_db_int.h @@ -127,6 +127,7 @@ interface MIR_APP_EXPORT MIDatabase STDMETHOD_(BOOL, MetaSplitHistory)(DBCachedContact *ccMeta, DBCachedContact *ccSub) PURE; STDMETHOD_(BOOL, Compact)(void) PURE; + STDMETHOD_(BOOL, Backup)(LPCWSTR) PURE; }; ///////////////////////////////////////////////////////////////////////////////////////// @@ -173,6 +174,7 @@ public: STDMETHODIMP_(BOOL) SetSettingResident(BOOL bIsResident, const char *pszSettingName); STDMETHODIMP_(BOOL) Compact(void); + STDMETHODIMP_(BOOL) Backup(LPCWSTR); }; /////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3