1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * InspIRCd: (C) 2002-2008 InspIRCd Development Team
6 * See: http://www.inspircd.org/wiki/index.php/Credits
8 * This program is free but copyrighted software; see
9 * the file COPYING for details.
11 * ---------------------------------------------------
14 #ifndef __PROTOCOL_H__
15 #define __PROTOCOL_H__
19 typedef std::deque<std::string> parameterlist;
21 class ProtocolInterface : public Extensible
24 InspIRCd* ServerInstance;
26 ProtocolInterface(InspIRCd* Instance) : ServerInstance(Instance) { }
27 virtual ~ProtocolInterface() { }
29 virtual void SendEncapsulatedData(parameterlist &encap) { }
30 virtual void SendMetaData(void* target, int type, const std::string &key, const std::string &data) { }
31 virtual void SendTopic(Channel* channel, std::string &topic) { }
32 virtual void SendMode(const std::string &target, parameterlist &modedata) { }
33 virtual void SendOperNotice(const std::string &text) { }
34 virtual void SendModeNotice(const std::string &modes, const std::string &text) { }
35 virtual void SendSNONotice(const std::string &snomask, const std::string &text) { }
36 virtual void PushToClient(User* target, const std::string &rawline) { }