mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
renamed class SingalVector -> SimpleSignalVector
This commit is contained in:
parent
6013591730
commit
712a292d7e
3 changed files with 6 additions and 6 deletions
|
@ -8,10 +8,10 @@
|
||||||
namespace chatterino {
|
namespace chatterino {
|
||||||
|
|
||||||
template <typename TValue>
|
template <typename TValue>
|
||||||
class SignalVector
|
class SimpleSignalVector
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SignalVector &operator=(std::vector<TValue> &other)
|
SimpleSignalVector &operator=(std::vector<TValue> &other)
|
||||||
{
|
{
|
||||||
this->data = other;
|
this->data = other;
|
||||||
|
|
||||||
|
|
|
@ -12,10 +12,10 @@ class BTTVEmotes
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
EmoteMap globalEmotes;
|
EmoteMap globalEmotes;
|
||||||
SignalVector<QString> globalEmoteCodes;
|
SimpleSignalVector<QString> globalEmoteCodes;
|
||||||
|
|
||||||
EmoteMap channelEmotes;
|
EmoteMap channelEmotes;
|
||||||
std::map<QString, SignalVector<QString>> channelEmoteCodes;
|
std::map<QString, SimpleSignalVector<QString>> channelEmoteCodes;
|
||||||
|
|
||||||
void loadGlobalEmotes();
|
void loadGlobalEmotes();
|
||||||
void loadChannelEmotes(const QString &channelName, std::weak_ptr<EmoteMap> channelEmoteMap);
|
void loadChannelEmotes(const QString &channelName, std::weak_ptr<EmoteMap> channelEmoteMap);
|
||||||
|
|
|
@ -12,10 +12,10 @@ class FFZEmotes
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
EmoteMap globalEmotes;
|
EmoteMap globalEmotes;
|
||||||
SignalVector<QString> globalEmoteCodes;
|
SimpleSignalVector<QString> globalEmoteCodes;
|
||||||
|
|
||||||
EmoteMap channelEmotes;
|
EmoteMap channelEmotes;
|
||||||
std::map<QString, SignalVector<QString>> channelEmoteCodes;
|
std::map<QString, SimpleSignalVector<QString>> channelEmoteCodes;
|
||||||
|
|
||||||
void loadGlobalEmotes();
|
void loadGlobalEmotes();
|
||||||
void loadChannelEmotes(const QString &channelName, std::weak_ptr<EmoteMap> channelEmoteMap);
|
void loadChannelEmotes(const QString &channelName, std::weak_ptr<EmoteMap> channelEmoteMap);
|
||||||
|
|
Loading…
Reference in a new issue