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/Db3x_mmap/src | |
parent | 007d5cd3398c7e82a5bbfe29131323c7c2ea379b (diff) |
fixes #2698 (Add current db format (mdbx, sqlite) to version info report)
Diffstat (limited to 'plugins/Db3x_mmap/src')
-rw-r--r-- | plugins/Db3x_mmap/src/dbintf.h | 2 | ||||
-rw-r--r-- | plugins/Db3x_mmap/src/init.cpp | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/plugins/Db3x_mmap/src/dbintf.h b/plugins/Db3x_mmap/src/dbintf.h index 488e1c5ac0..8e09a9ba1c 100644 --- a/plugins/Db3x_mmap/src/dbintf.h +++ b/plugins/Db3x_mmap/src/dbintf.h @@ -242,6 +242,8 @@ public: STDMETHODIMP_(MEVENT) GetEventById(LPCSTR szModule, LPCSTR szId) override;
+ STDMETHODIMP_(DATABASELINK*) GetDriver() override;
+
protected:
DWORD GetSettingsGroupOfsByModuleNameOfs(DBContact *dbc, DWORD ofsModuleName);
void InvalidateSettingsGroupOfsCacheEntry(DWORD) {}
diff --git a/plugins/Db3x_mmap/src/init.cpp b/plugins/Db3x_mmap/src/init.cpp index f43a620d62..5523236de0 100644 --- a/plugins/Db3x_mmap/src/init.cpp +++ b/plugins/Db3x_mmap/src/init.cpp @@ -134,6 +134,11 @@ static DATABASELINK dblink = LoadDatabase
};
+STDMETHODIMP_(DATABASELINK *) CDb3Mmap::GetDriver()
+{
+ return &dblink;
+}
+
/////////////////////////////////////////////////////////////////////////////////////////
int CMPlugin::Load()
|