diff options
author | George Hazan <ghazan@miranda.im> | 2018-09-19 15:34:32 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-09-19 15:34:32 +0300 |
commit | 77ea5b95cd68a295068394e9d0c505f0b26221ba (patch) | |
tree | 5b3dca3184ba08a040df418bd638efbe8a9ed7c2 /plugins/Import/src/dbrw | |
parent | 8dd934a1e0e80b1c14194195f4664bc9a6e685cc (diff) |
GetEventById & SetEventId - two new methods to operate with events by their server ids
Diffstat (limited to 'plugins/Import/src/dbrw')
-rw-r--r-- | plugins/Import/src/dbrw/dbintf.cpp | 10 | ||||
-rw-r--r-- | plugins/Import/src/dbrw/dbintf.h | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/plugins/Import/src/dbrw/dbintf.cpp b/plugins/Import/src/dbrw/dbintf.cpp index b5ed8b9e67..71f4e88152 100644 --- a/plugins/Import/src/dbrw/dbintf.cpp +++ b/plugins/Import/src/dbrw/dbintf.cpp @@ -83,3 +83,13 @@ STDMETHODIMP_(BOOL) CDbxSQLite::MetaSplitHistory(DBCachedContact*, DBCachedConta { return FALSE; } + +STDMETHODIMP_(MEVENT) CDbxSQLite::GetEventById(LPCSTR, LPCSTR) +{ + return 0; +} + +STDMETHODIMP_(BOOL) CDbxSQLite::SetEventId(LPCSTR, MEVENT, LPCSTR) +{ + return FALSE; +} diff --git a/plugins/Import/src/dbrw/dbintf.h b/plugins/Import/src/dbrw/dbintf.h index 3f88a6cc85..692316c38f 100644 --- a/plugins/Import/src/dbrw/dbintf.h +++ b/plugins/Import/src/dbrw/dbintf.h @@ -154,4 +154,7 @@ public: STDMETHODIMP_(BOOL) MetaMergeHistory(DBCachedContact *ccMeta, DBCachedContact *ccSub) override; STDMETHODIMP_(BOOL) MetaSplitHistory(DBCachedContact *ccMeta, DBCachedContact *ccSub) override; + + STDMETHODIMP_(MEVENT) GetEventById(LPCSTR szModule, LPCSTR szId) override; + STDMETHODIMP_(BOOL) SetEventId(LPCSTR szModule, MEVENT, LPCSTR szId) override; }; |