1 #ifndef _KVI_CONTROLCODES_H_
2 #define _KVI_CONTROLCODES_H_
46 #define KVI_MIRCCOLOR_MAX_FOREGROUND 15
47 #define KVI_MIRCCOLOR_MAX_BACKGROUND 15
119 namespace KviControlCodes
177 extern KVILIB_API const char * getColorBytes(
const char * pcData,
unsigned char * pcByte1,
unsigned char * pcByte2);
178 inline const QChar *
getUnicodeColorBytes(
const QChar * pData,
unsigned char * pcByte1,
unsigned char * pcByte2)
183 #endif //_KVI_CONTROLCODES_H_
Definition: KviControlCodes.h:136
Definition: KviControlCodes.h:132
Control
Contains mIRC control codes.
Definition: KviControlCodes.h:151
Definition: KviControlCodes.h:160
Definition: KviControlCodes.h:133
Definition: KviControlCodes.h:157
Definition: KviControlCodes.h:153
Definition: KviControlCodes.h:135
Definition: KviControlCodes.h:162
Definition: KviControlCodes.h:163
kvi_u16_t kvi_wchar_t
Definition: KviCString.h:87
Definition: KviControlCodes.h:139
Definition: KviControlCodes.h:137
Definition: KviControlCodes.h:134
Definition: KviControlCodes.h:127
Definition: KviControlCodes.h:156
Definition: KviControlCodes.h:138
Definition: KviControlCodes.h:141
Definition: KviControlCodes.h:158
Definition: KviControlCodes.h:154
Definition: KviControlCodes.h:161
QString stripControlBytes(const QString &szData)
Removes control bytes from the given string.
Definition: KviControlCodes.cpp:31
Definition: KviControlCodes.h:129
const kvi_wchar_t * getColorBytesW(const kvi_wchar_t *pwData, unsigned char *pcByte1, unsigned char *pcByte2)
Definition: KviControlCodes.cpp:86
Definition: KviControlCodes.h:142
Definition: KviControlCodes.h:128
Definition: KviControlCodes.h:131
Definition: KviControlCodes.h:144
Definition: KviControlCodes.h:143
This file contains compile time settings.
unsigned int getUnicodeColorBytes(const QString &szData, unsigned int iChar, unsigned char *pcByte1, unsigned char *pcByte2)
Definition: KviControlCodes.cpp:161
Definition: KviControlCodes.h:140
Color
Contains mIRC color codes.
Definition: KviControlCodes.h:125
Definition: KviControlCodes.h:130
#define KVILIB_API
Definition: kvi_settings.h:125
Definition: KviControlCodes.h:159