summaryrefslogtreecommitdiff
path: root/include/m_db_int.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-03 12:34:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-03 12:34:53 +0000
commit5c2f5a27a78d50b6814a89c974214e7d294f5981 (patch)
tree351d57f733d80de65ff762c65a3bb2c72d481bb2 /include/m_db_int.h
parent1660edb24da69d794a447d49f8ea9398976870b5 (diff)
- MIDatabase::MetaDetouchSub = new method for the mc support virtualization
- further cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@8376 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_db_int.h')
-rw-r--r--include/m_db_int.h64
1 files changed, 33 insertions, 31 deletions
diff --git a/include/m_db_int.h b/include/m_db_int.h
index 9733d0ddf5..95cd993878 100644
--- a/include/m_db_int.h
+++ b/include/m_db_int.h
@@ -76,41 +76,43 @@ interface MIDatabase
{
MIDatabaseCache* m_cache;
- STDMETHOD_(void,SetCacheSafetyMode)(BOOL) PURE;
+ STDMETHOD_(void, SetCacheSafetyMode)(BOOL) PURE;
- STDMETHOD_(LONG,GetContactCount)(void) PURE;
+ STDMETHOD_(LONG, GetContactCount)(void) PURE;
STDMETHOD_(MCONTACT,FindFirstContact)(const char *szProto = NULL) PURE;
STDMETHOD_(MCONTACT, FindNextContact)(MCONTACT contactID, const char *szProto = NULL) PURE;
- STDMETHOD_(LONG,DeleteContact)(MCONTACT contactID) PURE;
- STDMETHOD_(HANDLE,AddContact)(void) PURE;
- STDMETHOD_(BOOL,IsDbContact)(MCONTACT contactID) PURE;
-
- STDMETHOD_(LONG,GetEventCount)(MCONTACT contactID) PURE;
- STDMETHOD_(HANDLE,AddEvent)(MCONTACT contactID, DBEVENTINFO *dbe) PURE;
- STDMETHOD_(BOOL,DeleteEvent)(MCONTACT contactID, HANDLE hDbEvent) PURE;
- STDMETHOD_(LONG,GetBlobSize)(HANDLE hDbEvent) PURE;
- STDMETHOD_(BOOL,GetEvent)(HANDLE hDbEvent, DBEVENTINFO *dbe) PURE;
- STDMETHOD_(BOOL,MarkEventRead)(MCONTACT contactID, HANDLE hDbEvent) PURE;
- STDMETHOD_(MCONTACT,GetEventContact)(HANDLE hDbEvent) PURE;
- STDMETHOD_(HANDLE,FindFirstEvent)(MCONTACT contactID) PURE;
- STDMETHOD_(HANDLE,FindFirstUnreadEvent)(MCONTACT contactID) PURE;
- STDMETHOD_(HANDLE,FindLastEvent)(MCONTACT contactID) PURE;
- STDMETHOD_(HANDLE,FindNextEvent)(HANDLE hDbEvent) PURE;
- STDMETHOD_(HANDLE,FindPrevEvent)(HANDLE hDbEvent) PURE;
-
- STDMETHOD_(BOOL,EnumModuleNames)(DBMODULEENUMPROC pFunc, void *pParam) PURE;
-
- STDMETHOD_(BOOL,GetContactSetting)(MCONTACT contactID, LPCSTR szModule, LPCSTR szSetting, DBVARIANT *dbv) PURE;
- STDMETHOD_(BOOL,GetContactSettingStr)(MCONTACT contactID, LPCSTR szModule, LPCSTR szSetting, DBVARIANT *dbv) PURE;
- STDMETHOD_(BOOL,GetContactSettingStatic)(MCONTACT contactID, LPCSTR szModule, LPCSTR szSetting, DBVARIANT *dbv) PURE;
- STDMETHOD_(BOOL,FreeVariant)(DBVARIANT *dbv) PURE;
- STDMETHOD_(BOOL,WriteContactSetting)(MCONTACT contactID, DBCONTACTWRITESETTING *dbcws) PURE;
- STDMETHOD_(BOOL,DeleteContactSetting)(MCONTACT contactID, LPCSTR szModule, LPCSTR szSetting) PURE;
- STDMETHOD_(BOOL,EnumContactSettings)(MCONTACT contactID, DBCONTACTENUMSETTINGS* dbces) PURE;
- STDMETHOD_(BOOL,SetSettingResident)(BOOL bIsResident, const char *pszSettingName) PURE;
- STDMETHOD_(BOOL,EnumResidentSettings)(DBMODULEENUMPROC pFunc, void *pParam) PURE;
- STDMETHOD_(BOOL,IsSettingEncrypted)(LPCSTR szModule, LPCSTR szSetting) PURE;
+ STDMETHOD_(LONG, DeleteContact)(MCONTACT contactID) PURE;
+ STDMETHOD_(HANDLE, AddContact)(void) PURE;
+ STDMETHOD_(BOOL, IsDbContact)(MCONTACT contactID) PURE;
+
+ STDMETHOD_(LONG, GetEventCount)(MCONTACT contactID) PURE;
+ STDMETHOD_(HANDLE, AddEvent)(MCONTACT contactID, DBEVENTINFO *dbe) PURE;
+ STDMETHOD_(BOOL, DeleteEvent)(MCONTACT contactID, HANDLE hDbEvent) PURE;
+ STDMETHOD_(LONG, GetBlobSize)(HANDLE hDbEvent) PURE;
+ STDMETHOD_(BOOL, GetEvent)(HANDLE hDbEvent, DBEVENTINFO *dbe) PURE;
+ STDMETHOD_(BOOL, MarkEventRead)(MCONTACT contactID, HANDLE hDbEvent) PURE;
+ STDMETHOD_(MCONTACT, GetEventContact)(HANDLE hDbEvent) PURE;
+ STDMETHOD_(HANDLE, FindFirstEvent)(MCONTACT contactID) PURE;
+ STDMETHOD_(HANDLE, FindFirstUnreadEvent)(MCONTACT contactID) PURE;
+ STDMETHOD_(HANDLE, FindLastEvent)(MCONTACT contactID) PURE;
+ STDMETHOD_(HANDLE, FindNextEvent)(HANDLE hDbEvent) PURE;
+ STDMETHOD_(HANDLE, FindPrevEvent)(HANDLE hDbEvent) PURE;
+
+ STDMETHOD_(BOOL, EnumModuleNames)(DBMODULEENUMPROC pFunc, void *pParam) PURE;
+
+ STDMETHOD_(BOOL, GetContactSetting)(MCONTACT contactID, LPCSTR szModule, LPCSTR szSetting, DBVARIANT *dbv) PURE;
+ STDMETHOD_(BOOL, GetContactSettingStr)(MCONTACT contactID, LPCSTR szModule, LPCSTR szSetting, DBVARIANT *dbv) PURE;
+ STDMETHOD_(BOOL, GetContactSettingStatic)(MCONTACT contactID, LPCSTR szModule, LPCSTR szSetting, DBVARIANT *dbv) PURE;
+ STDMETHOD_(BOOL, FreeVariant)(DBVARIANT *dbv) PURE;
+ STDMETHOD_(BOOL, WriteContactSetting)(MCONTACT contactID, DBCONTACTWRITESETTING *dbcws) PURE;
+ STDMETHOD_(BOOL, DeleteContactSetting)(MCONTACT contactID, LPCSTR szModule, LPCSTR szSetting) PURE;
+ STDMETHOD_(BOOL, EnumContactSettings)(MCONTACT contactID, DBCONTACTENUMSETTINGS* dbces) PURE;
+ STDMETHOD_(BOOL, SetSettingResident)(BOOL bIsResident, const char *pszSettingName) PURE;
+ STDMETHOD_(BOOL, EnumResidentSettings)(DBMODULEENUMPROC pFunc, void *pParam) PURE;
+ STDMETHOD_(BOOL, IsSettingEncrypted)(LPCSTR szModule, LPCSTR szSetting) PURE;
+
+ STDMETHOD_(BOOL, MetaDetouchSub)(DBCachedContact*, int nSub) PURE;
};
///////////////////////////////////////////////////////////////////////////////