diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-16 21:05:31 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-16 21:05:31 +0300 |
commit | 12225716d38830a23477b97a6979b6414faeec7b (patch) | |
tree | baa3169833239de523eef0c7cf1c1c1fe0731c35 /include | |
parent | 39390b02dbd5aa7eb21a83773fa561b39f8828bc (diff) |
entities' names to be started with capital letters
Diffstat (limited to 'include')
-rw-r--r-- | include/m_database.h | 4 | ||||
-rw-r--r-- | include/m_protoint.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/m_database.h b/include/m_database.h index bfab8294c5..d3a4d06088 100644 --- a/include/m_database.h +++ b/include/m_database.h @@ -228,12 +228,12 @@ EXTERN_C MIR_CORE_DLL(MCONTACT) db_find_next(MCONTACT hContact, const char *szPr #endif
#if defined(__cplusplus)
-class contact_iter
+class Contacts
{
const char *m_szModule;
public:
- contact_iter(const char *m = nullptr) :
+ Contacts(const char *m = nullptr) :
m_szModule(m)
{}
diff --git a/include/m_protoint.h b/include/m_protoint.h index e9477ce530..401135fd30 100644 --- a/include/m_protoint.h +++ b/include/m_protoint.h @@ -169,7 +169,7 @@ public: __forceinline void setWString(const char *name, const wchar_t* value) { db_set_ws(NULL, m_szModuleName, name, value); }
__forceinline void setWString(MCONTACT hContact, const char *name, const wchar_t* value) { db_set_ws(hContact, m_szModuleName, name, value); }
- __forceinline contact_iter acc_contact_iter() const { return contact_iter(m_szModuleName); }
+ __forceinline Contacts AccContacts() const { return Contacts(m_szModuleName); }
//////////////////////////////////////////////////////////////////////////////////////
// Service functions
|