From 12225716d38830a23477b97a6979b6414faeec7b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 16 Mar 2018 21:05:31 +0300 Subject: entities' names to be started with capital letters --- include/m_database.h | 4 ++-- include/m_protoint.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include') 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 -- cgit v1.2.3