diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-07-19 13:55:02 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-08-25 13:41:36 +0200 |
commit | 61d586b1a3ad689669f6dcdc285b0d021ca814bd (patch) | |
tree | 328d3148a653932445a2f8488500852b1e812e52 /src/modules/m_spanningtree/protocolinterface.h | |
parent | 9745333cd4c846ef04ad78c41f04a87af7e5b2d6 (diff) |
Clean up the protocol interface
Diffstat (limited to 'src/modules/m_spanningtree/protocolinterface.h')
-rw-r--r-- | src/modules/m_spanningtree/protocolinterface.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/modules/m_spanningtree/protocolinterface.h b/src/modules/m_spanningtree/protocolinterface.h index 2b4c4371f..b48e45425 100644 --- a/src/modules/m_spanningtree/protocolinterface.h +++ b/src/modules/m_spanningtree/protocolinterface.h @@ -19,24 +19,16 @@ #pragma once -class SpanningTreeUtilities; -class ModuleSpanningTree; - class SpanningTreeProtocolInterface : public ProtocolInterface { - SpanningTreeUtilities* Utils; public: - SpanningTreeProtocolInterface(SpanningTreeUtilities* util) : Utils(util) { } - bool SendEncapsulatedData(const parameterlist &encap); void SendMetaData(Extensible* target, const std::string &key, const std::string &data); void SendTopic(Channel* channel, std::string &topic); void SendMode(User* source, User* usertarget, Channel* chantarget, const parameterlist& modedata, const std::vector<TranslateType>& types); void SendSNONotice(const std::string &snomask, const std::string &text); void PushToClient(User* target, const std::string &rawline); - void SendChannelPrivmsg(Channel* target, char status, const std::string &text); - void SendChannelNotice(Channel* target, char status, const std::string &text); - void SendUserPrivmsg(User* target, const std::string &text); - void SendUserNotice(User* target, const std::string &text); - void GetServerList(ProtoServerList &sl); + void SendMessage(Channel* target, char status, const std::string& text, MessageType msgtype); + void SendMessage(User* target, const std::string& text, MessageType msgtype); + void GetServerList(ServerList& sl); }; |