renamed class SingalVector -> SimpleSignalVector
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user