mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
28 lines
518 B
C++
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
|