00001
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _MYHANDLER_H
00024 #define _MYHANDLER_H
00025
00026 #include <map>
00027 #include <string>
00028 #include "MinderHandler.h"
00029 #include <vector>
00030 #include <stdint.h>
00031 #include <Utility.h>
00032 #include "key.h"
00033 #include "ChatSocket.h"
00034
00035
00036 class DChatHandler : public MinderHandler
00037 {
00038 public:
00039 DChatHandler(const std::string& );
00040 ~DChatHandler();
00041
00042 std::string GetVersion() { return ""; }
00043 unsigned char *GetKey_m2minion() { return k1; }
00044
00045 void Who(ChatSocket *);
00046 void Talk(const std::string& name,const std::string& prat);
00047 void SendWho();
00048 void SendTalk(const std::string& name,const std::string& prat);
00049 void ShowWho(const std::string&);
00050 };
00051
00052
00053 #endif // _MYHANDLER_H