diff options
Diffstat (limited to 'lib/urlfilter/formats/adblockrule_parse.h')
-rw-r--r-- | lib/urlfilter/formats/adblockrule_parse.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/urlfilter/formats/adblockrule_parse.h b/lib/urlfilter/formats/adblockrule_parse.h new file mode 100644 index 0000000..7d380a8 --- /dev/null +++ b/lib/urlfilter/formats/adblockrule_parse.h @@ -0,0 +1,17 @@ +/* + * This file is part of smolbote. It's copyrighted by the contributors recorded + * in the version control history of the file, available from its original + * location: https://neueland.iserlohn-fortress.net/gitea/aqua/smolbote + * + * SPDX-License-Identifier: GPL-3.0 + */ + +#ifndef ADBLOCKRULE_PARSE_H +#define ADBLOCKRULE_PARSE_H + +class AdBlockRule; + +AdBlockRule *loadRule(const QString &filter); +std::optional<QPair<QWebEngineUrlRequestInfo::ResourceType, bool>> parseOption(const QString &option); + +#endif // ADBLOCKRULE_PARSE_H
\ No newline at end of file |