summaryrefslogtreecommitdiff
path: root/src/net/chathandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/chathandler.h')
-rw-r--r--src/net/chathandler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/chathandler.h b/src/net/chathandler.h
index bf4863b66..ede516f06 100644
--- a/src/net/chathandler.h
+++ b/src/net/chathandler.h
@@ -23,11 +23,14 @@
#ifndef NET_CHATHANDLER_H
#define NET_CHATHANDLER_H
+
#include <iosfwd>
#include <string>
#include "localconsts.h"
+struct ChatObject;
+
namespace Net
{
class ChatHandler notfinal
@@ -72,6 +75,9 @@ class ChatHandler notfinal
const bool isPublic) = 0;
virtual void battleTalk(const std::string &text) const = 0;
+
+ virtual void joinChat(const ChatObject *const chat,
+ const std::string &password) const = 0;
};
} // namespace Net