blob: 764a2e23568a88083ee52550a296bdd77b1902de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef SMOLBOTE_HOSTLIST_RULE_H
#define SMOLBOTE_HOSTLIST_RULE_H
#include "../filterleaf.h"
#include <QString>
class HostlistRule : public FilterLeaf
{
public:
explicit HostlistRule(const QString &domain, const QString &redirect);
bool match(const QString &requestUrl) const override;
FilterLeaf::Action action() const override;
};
#endif // SMOLBOTE_HOSTLIST_RULE_H
|