mirror-chatterino2/src/controllers/ignores/IgnoreController.hpp
2018-06-26 17:06:17 +02:00

28 lines
518 B
C++

#pragma once
#include "controllers/ignores/IgnorePhrase.hpp"
#include "singletons/SettingsManager.hpp"
#include "common/SignalVector2.hpp"
namespace chatterino {
class IgnoreModel;
class IgnoreController
{
public:
void initialize();
UnsortedSignalVector<IgnorePhrase> phrases;
IgnoreModel *createModel(QObject *parent);
private:
bool initialized = false;
chatterino::ChatterinoSetting<std::vector<IgnorePhrase>> ignoresSetting = {
"/ignore/phrases"};
};
} // namespace chatterino