diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-08 18:13:03 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-08 18:13:03 +0000 |
commit | 4c8d19f8daa2f9b9692d5995226439b2001ad92f (patch) | |
tree | 051c6e2b0bb47040b6458d0347f3a3c97f855466 /src/modules/database/database.h | |
parent | 2ccbc4c7f3efc677290f8e1607543676b61c1cbe (diff) |
low-level database access functions rewritten to MCONTACT instead of HANDLE hContact
git-svn-id: http://svn.miranda-ng.org/main/trunk@8067 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/database/database.h')
-rw-r--r-- | src/modules/database/database.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/modules/database/database.h b/src/modules/database/database.h index 33121c8fcf..286c651c02 100644 --- a/src/modules/database/database.h +++ b/src/modules/database/database.h @@ -39,12 +39,14 @@ public: ~MDatabaseCache();
protected:
- STDMETHODIMP_(DBCachedContact*) AddContactToCache(HANDLE hContact);
- STDMETHODIMP_(DBCachedContact*) GetCachedContact(HANDLE hContact);
- STDMETHODIMP_(void) FreeCachedContact(HANDLE hContact);
+ STDMETHODIMP_(DBCachedContact*) AddContactToCache(MCONTACT contactID);
+ STDMETHODIMP_(DBCachedContact*) GetCachedContact(MCONTACT contactID);
+ STDMETHODIMP_(DBCachedContact*) GetFirstContact(void);
+ STDMETHODIMP_(DBCachedContact*) GetNextContact(MCONTACT contactID);
+ STDMETHODIMP_(void) FreeCachedContact(MCONTACT contactID);
STDMETHODIMP_(char*) InsertCachedSetting(const char *szName, int);
STDMETHODIMP_(char*) GetCachedSetting(const char *szModuleName, const char *szSettingName, int, int);
STDMETHODIMP_(void) SetCachedVariant(DBVARIANT *s, DBVARIANT *d);
- STDMETHODIMP_(DBVARIANT*) GetCachedValuePtr(HANDLE hContact, char *szSetting, int bAllocate);
+ STDMETHODIMP_(DBVARIANT*) GetCachedValuePtr(MCONTACT contactID, char *szSetting, int bAllocate);
};
|