summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/Include/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_nicer/src/Include/config.h')
-rw-r--r--plugins/Clist_nicer/src/Include/config.h55
1 files changed, 27 insertions, 28 deletions
diff --git a/plugins/Clist_nicer/src/Include/config.h b/plugins/Clist_nicer/src/Include/config.h
index f84b2b8238..c7dd518a25 100644
--- a/plugins/Clist_nicer/src/Include/config.h
+++ b/plugins/Clist_nicer/src/Include/config.h
@@ -79,45 +79,44 @@ private:
class cfg
{
public:
- static void init ();
+ static void init();
- static DWORD getDword (const HANDLE hContact, const char *szModule, const char *szSetting, DWORD uDefault);
- static DWORD getDword (const char *szModule, const char *szSetting, DWORD uDefault);
- static DWORD getDword (const char *szSetting, DWORD uDefault);
+ static DWORD getDword(const HANDLE hContact, const char *szModule, const char *szSetting, DWORD uDefault);
+ static DWORD getDword(const char *szModule, const char *szSetting, DWORD uDefault);
+ static DWORD getDword(const char *szSetting, DWORD uDefault);
- static WORD getWord (const HANDLE hContact, const char *szModule, const char *szSetting, WORD uDefault);
- static WORD getWord (const char *szModule, const char *szSetting, WORD uDefault);
- static WORD getWord (const char *szSetting, WORD uDefault);
+ static WORD getWord(const HANDLE hContact, const char *szModule, const char *szSetting, WORD uDefault);
+ static WORD getWord(const char *szModule, const char *szSetting, WORD uDefault);
+ static WORD getWord(const char *szSetting, WORD uDefault);
- static int getByte (const HANDLE hContact, const char *szModule, const char *szSetting, int uDefault);
- static int getByte (const char *szModule, const char *szSetting, int uDefault);
- static int getByte (const char *szSetting, int uDefault);
+ static int getByte(const HANDLE hContact, const char *szModule, const char *szSetting, int uDefault);
+ static int getByte(const char *szModule, const char *szSetting, int uDefault);
+ static int getByte(const char *szSetting, int uDefault);
- static INT_PTR getTString (const HANDLE hContact, const char *szModule, const char *szSetting, DBVARIANT *dbv);
- static INT_PTR getString (const HANDLE hContact, const char *szModule, const char *szSetting, DBVARIANT *dbv);
+ static INT_PTR getTString(const HANDLE hContact, const char *szModule, const char *szSetting, DBVARIANT *dbv);
+ static INT_PTR getString(const HANDLE hContact, const char *szModule, const char *szSetting, DBVARIANT *dbv);
- static INT_PTR writeDword (const HANDLE hContact, const char *szModule, const char *szSetting, DWORD value);
- static INT_PTR writeDword (const char *szModule, const char *szSetting, DWORD value);
+ static INT_PTR writeDword(const HANDLE hContact, const char *szModule, const char *szSetting, DWORD value);
+ static INT_PTR writeDword(const char *szModule, const char *szSetting, DWORD value);
- static INT_PTR writeWord (const HANDLE hContact, const char *szModule, const char *szSetting, WORD value);
- static INT_PTR writeWord (const char *szModule, const char *szSetting, WORD value);
+ static INT_PTR writeWord(const HANDLE hContact, const char *szModule, const char *szSetting, WORD value);
+ static INT_PTR writeWord(const char *szModule, const char *szSetting, WORD value);
- static INT_PTR writeByte (const HANDLE hContact, const char *szModule, const char *szSetting, BYTE value);
- static INT_PTR writeByte (const char *szModule, const char *szSetting, BYTE value);
+ static INT_PTR writeByte(const HANDLE hContact, const char *szModule, const char *szSetting, BYTE value);
+ static INT_PTR writeByte(const char *szModule, const char *szSetting, BYTE value);
- static INT_PTR writeTString (const HANDLE hContact, const char *szModule, const char *szSetting, const TCHAR *st);
- static INT_PTR writeString (const HANDLE hContact, const char *szModule, const char *szSetting, const char *st);
- static int getCache (const HANDLE hContact, const char *szProto);
+ static INT_PTR writeTString(const HANDLE hContact, const char *szModule, const char *szSetting, const TCHAR *st);
+ static INT_PTR writeString(const HANDLE hContact, const char *szModule, const char *szSetting, const char *st);
+
+ static TExtraCache* getCache(const HANDLE hContact, const char *szProto);
public:
- static TCluiData dat;
- static ClcData* clcdat;
- static TExtraCache* eCache;
- static int nextCacheEntry, maxCacheEntry;
+ static TCluiData dat;
+ static ClcData* clcdat;
+
+ static LIST<TExtraCache> arCache;
- static CRITICAL_SECTION cachecs;
-
- static bool shutDown;
+ static bool shutDown;
};
struct TSysConfig {