usersinfos.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00029 #ifndef USERSINFOS_H
00030 #define USERSINFOS_H
00031 #include "../plugin.h"
00032 #include "../botkernel.h"
00033 #include "../channel.h"
00034 #include <string>
00035 #include <map>
00036 using namespace std;
00037
00045 class UsersInfos : public Plugin
00046 {
00047 private:
00049 vector<string> prefixes;
00051 map<string,Channel*> users;
00053 vector<string> lastQuitChannels;
00054 public:
00056 UsersInfos(BotKernel*);
00058 ~UsersInfos();
00060 void addPrefixe(char,char);
00062 char getPrefixe(char);
00064 string getPrefixes();
00066 map<string,Channel*> * getUsers();
00068 bool hasMode(string,string,char);
00070 vector<string>* getLastQuitChannels();
00071 };
00072
00073
00074 #endif
00075