Finish up singleton refactoring into one giant class

This commit is contained in:
Rasmus Karlsson
2018-04-28 15:20:18 +02:00
parent 9426a9d633
commit 2f195891cd
34 changed files with 221 additions and 184 deletions
+3 -2
View File
@@ -13,10 +13,11 @@ namespace twitch {
class TwitchServer final : public irc::AbstractIrcServer
{
TwitchServer();
friend class Application;
void initialize();
public:
static TwitchServer &getInstance();
// fourtf: ugh
void forEachChannelAndSpecialChannels(std::function<void(ChannelPtr)> func);