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 /plugins/Import/src/dbrw | |
parent | 007d5cd3398c7e82a5bbfe29131323c7c2ea379b (diff) |
fixes #2698 (Add current db format (mdbx, sqlite) to version info report)
Diffstat (limited to 'plugins/Import/src/dbrw')
-rw-r--r-- | plugins/Import/src/dbrw/dbintf.h | 2 | ||||
-rw-r--r-- | plugins/Import/src/dbrw/dbrw.cpp | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/plugins/Import/src/dbrw/dbintf.h b/plugins/Import/src/dbrw/dbintf.h index 3c5fbef3c5..481ff173de 100644 --- a/plugins/Import/src/dbrw/dbintf.h +++ b/plugins/Import/src/dbrw/dbintf.h @@ -154,4 +154,6 @@ public: STDMETHODIMP_(BOOL) MetaSplitHistory(DBCachedContact *ccMeta, DBCachedContact *ccSub) override; STDMETHODIMP_(MEVENT) GetEventById(LPCSTR szModule, LPCSTR szId) override; + + STDMETHODIMP_(DATABASELINK *) GetDriver(); }; diff --git a/plugins/Import/src/dbrw/dbrw.cpp b/plugins/Import/src/dbrw/dbrw.cpp index a43f8da910..0779374d62 100644 --- a/plugins/Import/src/dbrw/dbrw.cpp +++ b/plugins/Import/src/dbrw/dbrw.cpp @@ -94,6 +94,11 @@ static DATABASELINK dblink = dbrw_Load }; +STDMETHODIMP_(DATABASELINK *) CDbxSQLite::GetDriver() +{ + return &g_patternDbLink; +} + void RegisterDbrw() { RegisterDatabasePlugin(&dblink); |