diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-28 14:55:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-28 14:55:49 +0000 |
commit | 056d2be888a4235a109a123b7b2a715aa3ff72ba (patch) | |
tree | b1956081bb951f44ced81414db7656a832613b71 /plugins/UserInfoEx/src/mir_db.h | |
parent | 5f03619d3bbda7a617f50ded2698cffc434dd525 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@4225 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/mir_db.h')
-rw-r--r-- | plugins/UserInfoEx/src/mir_db.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/plugins/UserInfoEx/src/mir_db.h b/plugins/UserInfoEx/src/mir_db.h index 5efc0c0853..c2383fc590 100644 --- a/plugins/UserInfoEx/src/mir_db.h +++ b/plugins/UserInfoEx/src/mir_db.h @@ -26,9 +26,9 @@ namespace DB { namespace MetaContact{
INT_PTR SubCount (HANDLE hMetaContact);
INT_PTR SubDefNum (HANDLE hMetaContact);
- HANDLE Sub (HANDLE hMetaContact, INT idx);
+ HANDLE Sub (HANDLE hMetaContact, int idx);
- BOOLEAN IsSub (HANDLE hContact);
+ BYTE IsSub (HANDLE hContact);
HANDLE GetMeta (HANDLE hContact);
} /* namespace MetaContact */
@@ -53,10 +53,10 @@ namespace Contact { } /* namespace Contact */
namespace Module {
- VOID Delete (HANDLE hContact, LPCSTR pszModule);
- BOOLEAN IsEmpty (HANDLE hContact, LPCSTR pszModule);
- BOOLEAN IsMeta (LPCSTR pszModule);
- BOOLEAN IsMetaAndScan (LPCSTR pszModule);
+ void Delete (HANDLE hContact, LPCSTR pszModule);
+ BYTE IsEmpty (HANDLE hContact, LPCSTR pszModule);
+ BYTE IsMeta (LPCSTR pszModule);
+ BYTE IsMetaAndScan (LPCSTR pszModule);
} /* namespace Module */
@@ -97,7 +97,7 @@ namespace Setting { static FORCEINLINE
WORD GetUStringCtrl(HANDLE hContact, LPCSTR pszModule, LPCSTR szSubModule, LPCSTR szProto, LPCSTR pszSetting, DBVARIANT *dbv) { return GetCtrl(hContact, pszModule, szSubModule, szProto, pszSetting, dbv, DBVT_UTF8); }
- BYTE GetStatic (HANDLE hContact, LPCSTR pszModule, LPCSTR pszSetting, LPSTR szValue, INT cchValue);
+ BYTE GetStatic (HANDLE hContact, LPCSTR pszModule, LPCSTR pszSetting, LPSTR szValue, int cchValue);
BYTE GetByte (HANDLE hContact, LPCSTR pszModule, LPCSTR pszSetting, BYTE errorValue);
static FORCEINLINE
@@ -168,9 +168,9 @@ namespace Setting { /**
* misc operations
**/
- BOOLEAN Exists (HANDLE hContact, LPCSTR pszModule, LPCSTR pszSetting);
+ BYTE Exists (HANDLE hContact, LPCSTR pszModule, LPCSTR pszSetting);
BYTE Delete (HANDLE hContact, LPCSTR pszModule, LPCSTR pszSetting);
- VOID DeleteArray (HANDLE hContact, LPCSTR pszModule, LPCSTR pszFormat, INT iStart);
+ void DeleteArray (HANDLE hContact, LPCSTR pszModule, LPCSTR pszFormat, int iStart);
BYTE Resident (LPCSTR pszSetting, const bool enabled);
} /* namespace Setting */
@@ -191,7 +191,7 @@ namespace Event { BYTE GetInfoWithData(HANDLE hEvent, DBEVENTINFO *dbei);
DWORD GetTime (HANDLE hEvent);
INT_PTR BlobSizeOf (HANDLE hEvent);
- BOOLEAN Exists (HANDLE hContact, HANDLE& hDbExistingEvent, DBEVENTINFO *dbei);
+ BYTE Exists (HANDLE hContact, HANDLE& hDbExistingEvent, DBEVENTINFO *dbei);
} /* namespace Events */
/**
@@ -199,10 +199,10 @@ namespace Event { **/
class CEnumList : public ::LIST<CHAR>
{
- static INT EnumProc (LPCSTR pszName, DWORD ofsModuleName, LPARAM lParam);
- static INT EnumSettingsProc(LPCSTR pszName, LPARAM lParam);
+ static int EnumProc (LPCSTR pszName, DWORD ofsModuleName, LPARAM lParam);
+ static int EnumSettingsProc(LPCSTR pszName, LPARAM lParam);
- static INT CompareProc (LPCSTR p1, LPCSTR p2);
+ static int CompareProc (LPCSTR p1, LPCSTR p2);
public:
CEnumList();
|