aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/meson.build6
-rw-r--r--include/smolbote/filterinterface.hpp (renamed from include/filterinterface.h)6
-rw-r--r--include/smolbote/plugininterface.h (renamed from include/plugininterface.h)0
-rw-r--r--include/smolbote/session.hpp (renamed from include/session.hpp)0
-rw-r--r--include/version.h.in8
5 files changed, 9 insertions, 11 deletions
diff --git a/include/meson.build b/include/meson.build
index 70d995a..82ab510 100644
--- a/include/meson.build
+++ b/include/meson.build
@@ -1,2 +1,6 @@
-plugininterface_include = include_directories('.')
+smolbote_interfaces = include_directories('.')
+
+install_headers('smolbote/plugininterface.h', 'smolbote/filterinterface.hpp', 'smolbote/session.hpp',
+ subdir: 'smolbote'
+)
diff --git a/include/filterinterface.h b/include/smolbote/filterinterface.hpp
index fb04e25..9c78c97 100644
--- a/include/filterinterface.h
+++ b/include/smolbote/filterinterface.hpp
@@ -6,7 +6,8 @@
* SPDX-License-Identifier: MIT
*/
-#pragma once
+#ifndef SMOLBOTE_FILTER_HPP
+#define SMOLBOTE_FILTER_HPP
#include <QWebEngineUrlRequestInfo>
#include <QtPlugin>
@@ -17,7 +18,6 @@ public:
virtual ~Filter() = default;
virtual void filter(QWebEngineUrlRequestInfo &info) const = 0;
-
virtual bool isUpToDate() const = 0;
};
@@ -34,3 +34,5 @@ public:
#define FilterPluginIid "net.iserlohn-fortress.smolbote.FilterPlugin"
Q_DECLARE_INTERFACE(FilterPlugin, FilterPluginIid)
+#endif // SMOLBOTE_FILTER_HPP
+
diff --git a/include/plugininterface.h b/include/smolbote/plugininterface.h
index 4c36d8a..4c36d8a 100644
--- a/include/plugininterface.h
+++ b/include/smolbote/plugininterface.h
diff --git a/include/session.hpp b/include/smolbote/session.hpp
index 0146802..0146802 100644
--- a/include/session.hpp
+++ b/include/smolbote/session.hpp
diff --git a/include/version.h.in b/include/version.h.in
deleted file mode 100644
index 44f10d9..0000000
--- a/include/version.h.in
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifndef SMOLBOTE_VERSION_H
-#define SMOLBOTE_VERSION_H
-
-// output of 'git describe --long --abbrev=40':
-// x.y.z-0-g0123456789012345678901234567890123456789
-#define poi_Version "@VCS_TAG@"
-
-#endif // SMOLBOTE_VERSION_H