aboutsummaryrefslogtreecommitdiff
path: root/lib/urlfilter/formats
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-10-18 14:40:32 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-10-18 14:40:32 +0200
commit9ab6f6d363f873f0799982c3c0872d38a656ee84 (patch)
treebf7fba76f36be8d6560fa5914404ae4fb44711ad /lib/urlfilter/formats
parentbuildconfig: don't overwrite install prefix by default (diff)
downloadsmolbote-9ab6f6d363f873f0799982c3c0872d38a656ee84.tar.xz
urlfilter: add Domain class
(#6): Add domain matcher class
Diffstat (limited to 'lib/urlfilter/formats')
-rw-r--r--lib/urlfilter/formats/hostlistrule.cpp8
-rw-r--r--lib/urlfilter/formats/hostlistrule.h8
2 files changed, 16 insertions, 0 deletions
diff --git a/lib/urlfilter/formats/hostlistrule.cpp b/lib/urlfilter/formats/hostlistrule.cpp
index 1df6b3e..8336243 100644
--- a/lib/urlfilter/formats/hostlistrule.cpp
+++ b/lib/urlfilter/formats/hostlistrule.cpp
@@ -1,3 +1,11 @@
+/*
+ * 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
+ */
+
#include "hostlistrule.h"
HostlistRule::HostlistRule(const QString &domain, const QString& redirect)
diff --git a/lib/urlfilter/formats/hostlistrule.h b/lib/urlfilter/formats/hostlistrule.h
index 764a2e2..19fd63f 100644
--- a/lib/urlfilter/formats/hostlistrule.h
+++ b/lib/urlfilter/formats/hostlistrule.h
@@ -1,3 +1,11 @@
+/*
+ * 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 SMOLBOTE_HOSTLIST_RULE_H
#define SMOLBOTE_HOSTLIST_RULE_H