refactor: turn Emotes into EmoteController (#6516)

* refactor: turn `Emotes` into `EmoteController`

* changelog

* why does clang-format do this???

* nit: remove unused include from EmoteController.hpp

---------

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
nerix
2025-10-04 12:05:27 +02:00
committed by GitHub
parent 2bf617f37a
commit c5b0669812
33 changed files with 158 additions and 154 deletions
+3 -3
View File
@@ -4,7 +4,7 @@
#include "controllers/commands/CommandController.hpp"
#include "controllers/commands/common/ChannelAction.hpp"
#include "mocks/BaseApplication.hpp"
#include "mocks/Emotes.hpp"
#include "mocks/EmoteController.hpp"
#include "mocks/Helix.hpp"
#include "mocks/Logging.hpp"
#include "mocks/TwitchIrcServer.hpp"
@@ -45,7 +45,7 @@ public:
return &this->commands;
}
IEmotes *getEmotes() override
EmoteController *getEmotes() override
{
return &this->emotes;
}
@@ -59,7 +59,7 @@ public:
AccountController accounts;
CommandController commands;
mock::MockTwitchIrcServer twitch;
mock::Emotes emotes;
mock::EmoteController emotes;
};
} // namespace