diff options
author | George Hazan <ghazan@miranda.im> | 2021-01-18 21:57:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-01-18 21:57:04 +0300 |
commit | a0a5ee70f1e5021df606a01a212144f4fe955daa (patch) | |
tree | 5a2e33c2f6b1481318f11a9c38e0732cb53be802 /include/m_db_int.h | |
parent | 007d5cd3398c7e82a5bbfe29131323c7c2ea379b (diff) |
fixes #2698 (Add current db format (mdbx, sqlite) to version info report)
Diffstat (limited to 'include/m_db_int.h')
-rw-r--r-- | include/m_db_int.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/m_db_int.h b/include/m_db_int.h index ab17c39088..198f21a030 100644 --- a/include/m_db_int.h +++ b/include/m_db_int.h @@ -37,6 +37,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define STATUS_FATAL 3
#define STATUS_SUCCESS 4
+struct DATABASELINK;
+
struct DBCHeckCallback
{
DWORD spaceProcessed, spaceUsed;
@@ -155,6 +157,8 @@ interface MIR_APP_EXPORT MIDatabase STDMETHOD_(BOOL, Backup)(LPCWSTR) PURE;
STDMETHOD_(MIDatabaseChecker*, GetChecker)(void) PURE;
+ STDMETHOD_(DATABASELINK*, GetDriver)(void) PURE;
+
STDMETHOD_(MEVENT, GetEventById)(LPCSTR szModule, LPCSTR szId) PURE;
@@ -181,7 +185,7 @@ protected: mir_cs m_csDbAccess;
LIST<char> m_lResidentSettings;
MIDatabaseCache* m_cache;
- MICryptoEngine *m_crypto;
+ MICryptoEngine *m_crypto = nullptr;
protected:
int CheckProto(DBCachedContact *cc, const char *proto);
|