summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-05-17 14:59:52 +0100
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-05-17 14:59:52 +0100
commitba714b3b71b40eb21a30f37c9cde5b566a19d3e6 (patch)
tree08a0d8d42a0078d497fc4e4178ddee16cfe92ba7 /example
parentd7935356da16beaf7667af60d2e7fb46cc202599 (diff)
examples: update plugin headers
Diffstat (limited to 'example')
-rw-r--r--example/examplePlugin/customDecoration.cpp4
-rw-r--r--example/examplePlugin/customDecoration.hpp2
-rw-r--r--example/examplePlugin/customLayout.cpp2
-rw-r--r--example/examplePlugin/customLayout.hpp2
-rw-r--r--example/examplePlugin/globals.hpp2
-rw-r--r--example/examplePlugin/main.cpp4
6 files changed, 8 insertions, 8 deletions
diff --git a/example/examplePlugin/customDecoration.cpp b/example/examplePlugin/customDecoration.cpp
index d336d4e8..52b8b715 100644
--- a/example/examplePlugin/customDecoration.cpp
+++ b/example/examplePlugin/customDecoration.cpp
@@ -1,6 +1,6 @@
#include "customDecoration.hpp"
-#include "../../src/Window.hpp"
-#include "../../src/Compositor.hpp"
+#include <hyprland/src/Window.hpp>
+#include <hyprland/src/Compositor.hpp>
#include "globals.hpp"
CCustomDecoration::CCustomDecoration(CWindow* pWindow) {
diff --git a/example/examplePlugin/customDecoration.hpp b/example/examplePlugin/customDecoration.hpp
index a08b48bf..dbb0c0e2 100644
--- a/example/examplePlugin/customDecoration.hpp
+++ b/example/examplePlugin/customDecoration.hpp
@@ -2,7 +2,7 @@
#define WLR_USE_UNSTABLE
-#include "../../src/render/decorations/IHyprWindowDecoration.hpp"
+#include <hyprland/src/render/decorations/IHyprWindowDecoration.hpp>
class CCustomDecoration : public IHyprWindowDecoration {
public:
diff --git a/example/examplePlugin/customLayout.cpp b/example/examplePlugin/customLayout.cpp
index fcc51394..8001c72d 100644
--- a/example/examplePlugin/customLayout.cpp
+++ b/example/examplePlugin/customLayout.cpp
@@ -1,5 +1,5 @@
#include "customLayout.hpp"
-#include "../../src/Compositor.hpp"
+#include <hyprland/src/Compositor.hpp>
#include "globals.hpp"
void CHyprCustomLayout::onWindowCreatedTiling(CWindow* pWindow) {
diff --git a/example/examplePlugin/customLayout.hpp b/example/examplePlugin/customLayout.hpp
index 974882c2..44797ccc 100644
--- a/example/examplePlugin/customLayout.hpp
+++ b/example/examplePlugin/customLayout.hpp
@@ -2,7 +2,7 @@
#define WLR_USE_UNSTABLE
-#include "../../src/layout/IHyprLayout.hpp"
+#include <hyprland/src/layout/IHyprLayout.hpp>
struct SWindowData {
CWindow* pWindow = nullptr;
diff --git a/example/examplePlugin/globals.hpp b/example/examplePlugin/globals.hpp
index 37e8363b..22574754 100644
--- a/example/examplePlugin/globals.hpp
+++ b/example/examplePlugin/globals.hpp
@@ -1,5 +1,5 @@
#pragma once
-#include <src/plugins/PluginAPI.hpp>
+#include <hyprland/src/plugins/PluginAPI.hpp>
inline HANDLE PHANDLE = nullptr; \ No newline at end of file
diff --git a/example/examplePlugin/main.cpp b/example/examplePlugin/main.cpp
index ef829ae0..589c99c0 100644
--- a/example/examplePlugin/main.cpp
+++ b/example/examplePlugin/main.cpp
@@ -2,8 +2,8 @@
#include "globals.hpp"
-#include <src/Window.hpp>
-#include <src/Compositor.hpp>
+#include <hyprland/src/Window.hpp>
+#include <hyprland/src/Compositor.hpp>
#include "customLayout.hpp"
#include "customDecoration.hpp"