diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-11-28 20:39:37 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-11-28 20:39:37 +0000 |
commit | 92beff959051eec8d60e4e146aa3d8a13bee9fea (patch) | |
tree | b06ceb3079028d38f6d0f2481a5ab62b05e83e80 /protocols/Xfire/src/Xfire_base.h | |
parent | 8ef64da1b7cc3ef5026ab2dc80e7e0fd88971d59 (diff) |
XFire: Reformat sources
git-svn-id: http://svn.miranda-ng.org/main/trunk@11134 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/Xfire_base.h')
-rw-r--r-- | protocols/Xfire/src/Xfire_base.h | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/protocols/Xfire/src/Xfire_base.h b/protocols/Xfire/src/Xfire_base.h index 94f52a820f..717bf38fac 100644 --- a/protocols/Xfire/src/Xfire_base.h +++ b/protocols/Xfire/src/Xfire_base.h @@ -1,5 +1,5 @@ /*
- * Plugin of miranda IM(ICQ) for Communicating with users of the XFire Network.
+ * Plugin of miranda IM(ICQ) for Communicating with users of the XFire Network.
*
* Copyright (C) 2010 by
* dufte <dufte@justmail.de>
@@ -19,14 +19,14 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*
- * Miranda ICQ: the free icq client for MS Windows
+ * Miranda ICQ: the free icq client for MS Windows
* Copyright (C) 2000-2008 Richard Hughes, Roland Rabien & Tristan Van de Vreede
*
*/
/*
Beinhaltet Basisfunktionen
-*/
+ */
#ifndef _XFIRE_BASE
#define _XFIRE_BASE
@@ -45,42 +45,42 @@ private: public:
char temp[128];
//funktionen/tools
- void setString(char*from,char**to);
- void appendString(char*from,char**to);
- void readStringfromDB(char*name,unsigned int dbid,char**to);
- void readStringfromDB(char*name,unsigned int dbid,int id,char**to);
- void readUtf8StringfromDB(char*name,unsigned int dbid,char**to);
- void readUtf8StringfromDB(char*name,unsigned int dbid,int id,char**to);
- unsigned char readBytefromDB(char*name,unsigned int dbid,int defaultval=0);
- unsigned int readWordfromDB(char*name,unsigned int dbid,int defaultval=0);
- BOOL removeDBEntry(char*name,unsigned int dbid);
- BOOL removeDBEntry(char*name,unsigned int dbid,int id2);
- void writeStringtoDB(char*name,unsigned int dbid,int id,char*val);
- void writeStringtoDB(char*name,unsigned int dbid,char*val);
- void writeUtf8StringtoDB(char*name,unsigned int dbid,int id,char*val);
- void writeUtf8StringtoDB(char*name,unsigned int dbid,char*val);
- void writeBytetoDB(char*name,unsigned int dbid,int val);
- void writeWordtoDB(char*name,unsigned int dbid,int val);
+ void setString(char*from, char**to);
+ void appendString(char*from, char**to);
+ void readStringfromDB(char*name, unsigned int dbid, char**to);
+ void readStringfromDB(char*name, unsigned int dbid, int id, char**to);
+ void readUtf8StringfromDB(char*name, unsigned int dbid, char**to);
+ void readUtf8StringfromDB(char*name, unsigned int dbid, int id, char**to);
+ unsigned char readBytefromDB(char*name, unsigned int dbid, int defaultval = 0);
+ unsigned int readWordfromDB(char*name, unsigned int dbid, int defaultval = 0);
+ BOOL removeDBEntry(char*name, unsigned int dbid);
+ BOOL removeDBEntry(char*name, unsigned int dbid, int id2);
+ void writeStringtoDB(char*name, unsigned int dbid, int id, char*val);
+ void writeStringtoDB(char*name, unsigned int dbid, char*val);
+ void writeUtf8StringtoDB(char*name, unsigned int dbid, int id, char*val);
+ void writeUtf8StringtoDB(char*name, unsigned int dbid, char*val);
+ void writeBytetoDB(char*name, unsigned int dbid, int val);
+ void writeWordtoDB(char*name, unsigned int dbid, int val);
void strtolower(char*);
void strtolowerT(TCHAR*);
void strtoupper(char*);
- void strreplace(char*search,char*replace,char**data);
+ void strreplace(char*search, char*replace, char**data);
BYTE accStringByte(char*);
- BOOL inString(char*str,char*search,char**pos=NULL);
- BOOL wildcmp(const TCHAR *search,const TCHAR *text);
+ BOOL inString(char*str, char*search, char**pos = NULL);
+ BOOL wildcmp(const TCHAR *search, const TCHAR *text);
// ini funktionen
- BOOL getIniValue(unsigned int gameid,const char* valname,char*out,int sizeofout=255);
- BOOL getIniValue(unsigned int gameid,unsigned int subid,const char* valname,char*out,int sizeofout=255);
+ BOOL getIniValue(unsigned int gameid, const char* valname, char*out, int sizeofout = 255);
+ BOOL getIniValue(unsigned int gameid, unsigned int subid, const char* valname, char*out, int sizeofout = 255);
BOOL getIniPath(char*path);
BOOL getIconPath(char*path);
// gamename
- BOOL getGamename(unsigned int gameid,char* out,int outsize=255);
+ BOOL getGamename(unsigned int gameid, char* out, int outsize = 255);
//gdi+
- HICON createHICONfromdata(LPVOID data,unsigned int size);
- HBITMAP createHBITMAPfromdata(LPVOID data,unsigned int size);
+ HICON createHICONfromdata(LPVOID data, unsigned int size);
+ HBITMAP createHBITMAPfromdata(LPVOID data, unsigned int size);
//processzeugs
BOOL isValidPid(DWORD pid);
- BOOL getPidByProcessName(TCHAR *name,DWORD *pid);
+ BOOL getPidByProcessName(TCHAR *name, DWORD *pid);
};
#endif
\ No newline at end of file |