summaryrefslogtreecommitdiff
path: root/include/m_db_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_db_int.h')
-rw-r--r--include/m_db_int.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/m_db_int.h b/include/m_db_int.h
index 4178434dc0..c3fc97eecd 100644
--- a/include/m_db_int.h
+++ b/include/m_db_int.h
@@ -82,8 +82,6 @@ interface MIDatabaseCache : public MZeroedObject
interface MIR_APP_EXPORT MIDatabase
{
- MIDatabaseCache* m_cache;
-
STDMETHOD_(BOOL, IsRelational)(void) PURE;
STDMETHOD_(void, SetCacheSafetyMode)(BOOL) PURE;
@@ -137,6 +135,7 @@ protected:
mir_cs m_csDbAccess;
LIST<char> m_lResidentSettings;
+ MIDatabaseCache* m_cache;
protected:
int CheckProto(DBCachedContact *cc, const char *proto);
@@ -147,6 +146,8 @@ public:
MDatabaseCommon();
virtual ~MDatabaseCommon();
+ __forceinline MIDatabaseCache* getCache() const { return m_cache; }
+
STDMETHODIMP_(BOOL) DeleteModule(MCONTACT contactID, LPCSTR szModule);
STDMETHODIMP_(MCONTACT) FindFirstContact(const char *szProto = nullptr);