#include <evautil.h>
Collaboration diagram for EvaUtil:

Public Types | |
| typedef EvaUtil::textMap | textMap |
Public Member Functions | |
| EvaUtil () | |
Static Public Member Functions | |
| static char * | doMd5 (char *in, int len) |
| static char * | doMd5Md5 (char *in, int len) |
| static std::string | smileyToText (const char smileyCode) |
| static char | textToSmiley (const std::string &textTag) |
| static int | textToFileIndex (const std::string &textTag) |
| static std::string | fileIndexToText (const int fileIndex) |
| static std::string | convertToSend (const std::string &text) |
| static std::string | convertToSend (const std::string &text, bool *hasImage) |
| static void | initMap () |
| static std::string | customSmileyToText (const char *buf, int *smileyLength, const char *uuid) |
| static void | calcSuns (const unsigned short level, int *suns, int *moons, int *stars) |
| static int | write16 (unsigned char *buf, const unsigned short value) |
| static int | write32 (unsigned char *buf, const unsigned int value) |
| static unsigned short | read16 (const unsigned char *buf) |
| static unsigned int | read32 (const unsigned char *buf) |
Static Private Member Functions | |
| static int | smileyToFileIndex (const char smileyCode) |
Static Private Attributes | |
| static char | md5Buf [KEY_LENGTH] |
| static textMap | map [QQ_SMILEY_AMOUNT] |
| static const char | smileyMap [QQ_SMILEY_AMOUNT] |
Classes | |
| struct | textMap |
Definition at line 38 of file evautil.h.
|
|
|
|
|
Definition at line 48 of file evautil.cpp. References initMap(). Here is the call graph for this function: ![]() |
|
||||||||||||||||||||
|
Definition at line 358 of file evautil.cpp. |
|
||||||||||||
|
Definition at line 176 of file evautil.cpp. References textToSmiley(). Here is the call graph for this function: ![]() |
|
|
Definition at line 110 of file evautil.cpp. References textToSmiley(). Referenced by QunSendIMExPacket::putBody(), QunSendIMPacket::putBody(), and SendTextIMPacket::putContents(). Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
Definition at line 369 of file evautil.cpp. Referenced by ReceiveIMPacket::convertToShow(). |
|
||||||||||||
|
Definition at line 53 of file evautil.cpp. References md5_append(), md5_finish(), md5_init(), and md5Buf. Referenced by doMd5Md5(), EvaFTAgentTransfer::fillBody(), LoginReplyPacket::parseBody(), EvaPicTransferPacket::putBody(), and EvaRequestAgentPacket::putBody(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 62 of file evautil.cpp. References doMd5(), KEY_LENGTH, and md5Buf. Here is the call graph for this function: ![]() |
|
|
Definition at line 104 of file evautil.cpp. References map, and EvaUtil::textMap::py. |
|
|
Definition at line 245 of file evautil.cpp. References map. Referenced by EvaUtil(). |
|
|
Definition at line 491 of file evautil.cpp. Referenced by EvaFTSynCreateReply::parseBody(), EvaFTAgentTransferReply::parseBody(), EvaFTAgentCreateReply::parseBody(), ReceivedFileExIpIM::parseContents(), ReceivedFileIM::parseContents(), EvaFTSynPacket::parseHeader(), and EvaFTAgentPacket::parseHeader(). |
|
|
|
Definition at line 95 of file evautil.cpp. References QQ_SMILEY_AMOUNT, and smileyMap. Referenced by smileyToText(), and textToFileIndex(). |
|
|
Definition at line 69 of file evautil.cpp. References map, EvaUtil::textMap::py, and smileyToFileIndex(). Referenced by ReceiveIMPacket::convertToShow(). Here is the call graph for this function: ![]() |
|
|
Definition at line 89 of file evautil.cpp. References smileyToFileIndex(), and textToSmiley(). Here is the call graph for this function: ![]() |
|
|
Definition at line 76 of file evautil.cpp. References EvaUtil::textMap::en, map, EvaUtil::textMap::py, QQ_SMILEY_AMOUNT, and smileyMap. Referenced by convertToSend(), and textToFileIndex(). |
|
||||||||||||
|
||||||||||||
|
|
Definition at line 68 of file evautil.h. Referenced by fileIndexToText(), initMap(), smileyToText(), and textToSmiley(). |
|
|
Definition at line 67 of file evautil.h. Referenced by doMd5(), and doMd5Md5(). |
|
|
Initial value: {
0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,
0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x73,
0x74,0x75,0x76,0x77,0x8a,0x8b,0x8c,0x8d,
0x8e,0x8f,0x78,0x79,0x7a,0x7b,0x90,0x91,
0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,
0x59,0x5a,0x5c,0x58,0x57,0x55,0x7c,0x7d,
0x7e,0x7f,0x9a,0x9b,0x60,0x67,0x9c,0x9d,
0x9e,0x5e,0x9f,0x89,0x80,0x81,0x82,0x62,
0x63,0x64,0x65,0x66,0x83,0x68,0x84,0x85,
0x86,0x87,0x6b,0x6e,0x6f,0x70,0x88,0xa0,
0x50,0x51,0x52,0x53,0x54,0x56,0x5b,0x5d,
0x5f,0x61,0x69,0x6a,0x6c,0x6d,0x71,0x72,
}
Definition at line 69 of file evautil.h. Referenced by smileyToFileIndex(), and textToSmiley(). |
1.4.4