From 95b66d773710bfdc4784ebac07bbb86868fdea8a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 23 Sep 2018 17:27:04 +0300 Subject: db_event_edit - new stub for editing messages --- plugins/Dbx_mdbx/src/dbevents.cpp | 7 +++++++ plugins/Dbx_mdbx/src/dbintf.h | 1 + 2 files changed, 8 insertions(+) (limited to 'plugins/Dbx_mdbx/src') diff --git a/plugins/Dbx_mdbx/src/dbevents.cpp b/plugins/Dbx_mdbx/src/dbevents.cpp index 27b9c1c52e..4485cf0dc0 100644 --- a/plugins/Dbx_mdbx/src/dbevents.cpp +++ b/plugins/Dbx_mdbx/src/dbevents.cpp @@ -230,6 +230,13 @@ BOOL CDbxMDBX::DeleteEvent(MCONTACT contactID, MEVENT hDbEvent) /////////////////////////////////////////////////////////////////////////////// +BOOL CDbxMDBX::EditEvent(MCONTACT contactID, MEVENT hDbEvent, DBEVENTINFO *dbe) +{ + return 1; +} + +/////////////////////////////////////////////////////////////////////////////// + LONG CDbxMDBX::GetBlobSize(MEVENT hDbEvent) { txn_ptr_ro txn(m_txn_ro); diff --git a/plugins/Dbx_mdbx/src/dbintf.h b/plugins/Dbx_mdbx/src/dbintf.h index f7986e2b5c..8f1b6ab24b 100644 --- a/plugins/Dbx_mdbx/src/dbintf.h +++ b/plugins/Dbx_mdbx/src/dbintf.h @@ -254,6 +254,7 @@ public: STDMETHODIMP_(LONG) GetEventCount(MCONTACT contactID) override; STDMETHODIMP_(MEVENT) AddEvent(MCONTACT contactID, DBEVENTINFO *dbe) override; STDMETHODIMP_(BOOL) DeleteEvent(MCONTACT contactID, MEVENT hDbEvent) override; + STDMETHODIMP_(BOOL) EditEvent(MCONTACT contactID, MEVENT hDbEvent, DBEVENTINFO *dbe) override; STDMETHODIMP_(LONG) GetBlobSize(MEVENT hDbEvent) override; STDMETHODIMP_(BOOL) GetEvent(MEVENT hDbEvent, DBEVENTINFO *dbe) override; STDMETHODIMP_(BOOL) MarkEventRead(MCONTACT contactID, MEVENT hDbEvent) override; -- cgit v1.2.3