From 566abfa99120652fb1e9190d791fdbbba64d2e0d Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 16 Nov 2018 16:26:22 +0100 Subject: Add adblockrule_parse --- lib/urlfilter/formats/adblockrule_parse.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lib/urlfilter/formats/adblockrule_parse.h (limited to 'lib/urlfilter/formats/adblockrule_parse.h') 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> parseOption(const QString &option); + +#endif // ADBLOCKRULE_PARSE_H \ No newline at end of file -- cgit v1.2.1