#include "String.H"
class Bot;
+class Channel;
+class Mask;
class Message;
+class User;
class Commands {
public:
static Message Unlock(Bot *, String);
static Message Who (Bot *, String);
static Message Whois (Bot *, String);
+
+private:
+ class deop_wildcard : std::unary_function<User &, void>
+ {
+ Bot *bot;
+ Mask &mask;
+ const String channel;
+ public:
+ deop_wildcard (Bot*, Mask&, String&);
+ void operator ()(const User &);
+ };
+
+ class kick_wildcard : std::unary_function<User &, void>
+ {
+ Bot *bot;
+ Mask &mask;
+ const String channel;
+ const String reason;
+ public:
+ kick_wildcard (Bot*, Mask&, String&, String&);
+ void operator ()(const User &);
+ };
};
#endif