mirror-chatterino2/src/providers/irc/IrcChannel2.hpp

28 lines
444 B
C++
Raw Normal View History

2018-02-05 15:11:50 +01:00
#pragma once
#include "common/Channel.hpp"
2018-02-05 15:11:50 +01:00
namespace chatterino {
2018-06-26 16:37:59 +02:00
class Irc;
class IrcServer;
class IrcChannel : public Channel
{
public:
explicit IrcChannel(const QString &name, IrcServer *server);
void sendMessage(const QString &message) override;
IrcServer *server();
private:
void setServer(IrcServer *server);
IrcServer *server_;
friend class Irc;
};
2018-02-05 15:11:50 +01:00
} // namespace chatterino