mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Remove unused code
This commit is contained in:
parent
8db3bf483e
commit
f56b2e2fc2
2 changed files with 2 additions and 20 deletions
|
@ -1,11 +1,8 @@
|
|||
#include "singletons/emotemanager.hpp"
|
||||
|
||||
#include "application.hpp"
|
||||
#include "common.hpp"
|
||||
#include "controllers/accounts/accountcontroller.hpp"
|
||||
|
||||
#include <QFile>
|
||||
|
||||
using namespace chatterino::providers::twitch;
|
||||
using namespace chatterino::messages;
|
||||
|
||||
|
@ -27,12 +24,6 @@ void EmoteManager::initialize()
|
|||
this->gifTimer.initialize();
|
||||
}
|
||||
|
||||
util::EmoteData EmoteManager::getCheerImage(long long amount, bool animated)
|
||||
{
|
||||
// TODO: fix this xD
|
||||
return util::EmoteData();
|
||||
}
|
||||
|
||||
} // namespace singletons
|
||||
} // namespace chatterino
|
||||
|
||||
|
|
|
@ -2,14 +2,11 @@
|
|||
|
||||
#define GIF_FRAME_LENGTH 33
|
||||
|
||||
#include "messages/image.hpp"
|
||||
#include "providers/bttv/bttvemotes.hpp"
|
||||
#include "providers/emoji/emojis.hpp"
|
||||
#include "providers/ffz/ffzemotes.hpp"
|
||||
#include "providers/twitch/twitchemotes.hpp"
|
||||
#include "singletons/helper/giftimer.hpp"
|
||||
#include "util/concurrentmap.hpp"
|
||||
#include "util/emotemap.hpp"
|
||||
|
||||
#include <QString>
|
||||
|
||||
|
@ -21,20 +18,14 @@ class EmoteManager
|
|||
public:
|
||||
~EmoteManager() = delete;
|
||||
|
||||
void initialize();
|
||||
|
||||
providers::twitch::TwitchEmotes twitch;
|
||||
providers::bttv::BTTVEmotes bttv;
|
||||
providers::ffz::FFZEmotes ffz;
|
||||
providers::emoji::Emojis emojis;
|
||||
|
||||
GIFTimer gifTimer;
|
||||
|
||||
void initialize();
|
||||
|
||||
util::EmoteData getCheerImage(long long int amount, bool animated);
|
||||
|
||||
// Bit badge/emotes?
|
||||
// TODO: Move to twitch emote provider
|
||||
util::ConcurrentMap<QString, messages::Image *> miscImageCache;
|
||||
};
|
||||
|
||||
} // namespace singletons
|
||||
|
|
Loading…
Reference in a new issue