diff options
| author | George Hazan <ghazan@miranda.im> | 2018-06-29 14:31:56 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2018-06-29 14:31:56 +0300 |
| commit | 0d6ff4d0ed05a2a35cd7ade12e2c924704211bc8 (patch) | |
| tree | 72cc7e24988aa9f35691b1d0bdccbc172208db70 /include | |
| parent | 6233a4777edce1b30af96035e31ae3df074b15cb (diff) | |
safer method of backing up databases instead of trying to read them manually
Diffstat (limited to 'include')
| -rw-r--r-- | include/m_db_int.h | 2 |
1 files changed, 2 insertions, 0 deletions
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);
};
///////////////////////////////////////////////////////////////////////////////
|
