aboutsummaryrefslogtreecommitdiff
path: root/staging
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2020-04-13 21:34:47 +0300
committerAqua-sama <aqua@iserlohn-fortress.net>2020-04-21 20:14:56 +0300
commit8cb6f64820b4bf39c64803db21a58e135465ff4f (patch)
tree22e28a5ba0c1a31d7555626b7a1b282dff6b4d03 /staging
parentstaging/adblock: single line FilterList::parse (diff)
downloadsmolbote-8cb6f64820b4bf39c64803db21a58e135465ff4f.tar.xz
Move smolbote headers to include/smolbote
Headers will be installed to include/smolbote/
Diffstat (limited to 'staging')
-rw-r--r--staging/adblock/filterlist.h2
-rw-r--r--staging/adblock/meson.build7
-rw-r--r--staging/adblock/plugin/plugin.h2
3 files changed, 6 insertions, 5 deletions
diff --git a/staging/adblock/filterlist.h b/staging/adblock/filterlist.h
index 5ac60b6..2e3fba6 100644
--- a/staging/adblock/filterlist.h
+++ b/staging/adblock/filterlist.h
@@ -6,7 +6,7 @@
* SPDX-License-Identifier: GPL-3.0
*/
-#include <filterinterface.h>
+#include <smolbote/filterinterface.hpp>
#include <QDateTime>
#include <QObject>
#include <QString>
diff --git a/staging/adblock/meson.build b/staging/adblock/meson.build
index 8d06fb8..24e87c4 100644
--- a/staging/adblock/meson.build
+++ b/staging/adblock/meson.build
@@ -1,14 +1,15 @@
lib_adblockfilter = static_library('adblockfilter',
[ 'filterlist.cpp', 'rule.cpp', 'options.cpp' ],
- include_directories: plugininterface_include,
+ include_directories: smolbote_interfaces,
dependencies: [ dep_qt5 ]
)
AdblockPlusFilterPlugin = shared_library('AdblockPlusPlugin',
[ 'plugin/plugin.cpp',
- mod_qt5.preprocess(include_directories: plugininterface_include, moc_headers: 'plugin/plugin.h', dependencies: dep_qt5)
+ mod_qt5.preprocess(include_directories: smolbote_interfaces,
+ moc_headers: 'plugin/plugin.h', dependencies: dep_qt5)
],
- include_directories: plugininterface_include,
+ include_directories: smolbote_interfaces,
link_with: lib_adblockfilter,
dependencies: dep_qt5,
install: true,
diff --git a/staging/adblock/plugin/plugin.h b/staging/adblock/plugin/plugin.h
index 1ca51aa..db419bd 100644
--- a/staging/adblock/plugin/plugin.h
+++ b/staging/adblock/plugin/plugin.h
@@ -9,7 +9,7 @@
#ifndef ADBLOCKPLUSFILTER_PLUGIN_H
#define ADBLOCKPLUSFILTER_PLUGIN_H
-#include <filterinterface.h>
+#include <smolbote/filterinterface.hpp>
class AdblockPlusFilterPlugin : public QObject, public FilterPlugin
{