summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-01-05 18:49:01 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-01-05 18:49:01 +0300
commit9888ac73a0c7e6815b8a2b66751f303db7f0632f (patch)
tree0700097416f04a0b5c2688141c251e645f9df9fa
parent6febd24a8d4c6a552efc5d0c3a792d7e47effdb3 (diff)
compilation fix
-rw-r--r--plugins/Db3x_mmap/src/dbevents.cpp5
-rw-r--r--plugins/Db3x_mmap/src/dbintf.h1
-rw-r--r--plugins/Dbx_mdbx/src/dbevents.cpp5
-rw-r--r--plugins/Dbx_mdbx/src/dbintf.h1
4 files changed, 12 insertions, 0 deletions
diff --git a/plugins/Db3x_mmap/src/dbevents.cpp b/plugins/Db3x_mmap/src/dbevents.cpp
index 139a573b6b..e566ff120b 100644
--- a/plugins/Db3x_mmap/src/dbevents.cpp
+++ b/plugins/Db3x_mmap/src/dbevents.cpp
@@ -549,3 +549,8 @@ MEVENT CDb3Mmap::GetEventById(LPCSTR, LPCSTR)
{
return 0;
}
+
+int CDb3Mmap::UpdateEventId(MEVENT, LPCSTR)
+{
+ return 1;
+}
diff --git a/plugins/Db3x_mmap/src/dbintf.h b/plugins/Db3x_mmap/src/dbintf.h
index dd425f70dc..287d052d02 100644
--- a/plugins/Db3x_mmap/src/dbintf.h
+++ b/plugins/Db3x_mmap/src/dbintf.h
@@ -241,6 +241,7 @@ public:
STDMETHODIMP_(BOOL) MetaSplitHistory(DBCachedContact *ccMeta, DBCachedContact *ccSub) override;
STDMETHODIMP_(MEVENT) GetEventById(LPCSTR szModule, LPCSTR szId) override;
+ STDMETHODIMP_(int) UpdateEventId(MEVENT hDbEvent, const char *szId) override;
STDMETHODIMP_(DATABASELINK*) GetDriver() override;
diff --git a/plugins/Dbx_mdbx/src/dbevents.cpp b/plugins/Dbx_mdbx/src/dbevents.cpp
index 0d26fa1510..3b2c0e4650 100644
--- a/plugins/Dbx_mdbx/src/dbevents.cpp
+++ b/plugins/Dbx_mdbx/src/dbevents.cpp
@@ -467,6 +467,11 @@ MEVENT CDbxMDBX::GetEventById(const char *szModule, const char *szId)
return hDbEvent;
}
+int CDbxMDBX::UpdateEventId(MEVENT, LPCSTR)
+{
+ return 1;
+}
+
/////////////////////////////////////////////////////////////////////////////////////////
MCONTACT CDbxMDBX::GetEventContact(MEVENT hDbEvent)
diff --git a/plugins/Dbx_mdbx/src/dbintf.h b/plugins/Dbx_mdbx/src/dbintf.h
index ee612dba63..f0e931667b 100644
--- a/plugins/Dbx_mdbx/src/dbintf.h
+++ b/plugins/Dbx_mdbx/src/dbintf.h
@@ -284,6 +284,7 @@ public:
STDMETHODIMP_(BOOL) Flush() override;
STDMETHODIMP_(MEVENT) GetEventById(const char *szModule, const char *szId) override;
+ STDMETHODIMP_(int) UpdateEventId(MEVENT hDbEvent, const char *szId) override;
STDMETHODIMP_(DATABASELINK*) GetDriver() override;