summaryrefslogtreecommitdiff
path: root/modules/window
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2024-01-23 16:23:53 +0100
committerClaudius "keldu" Holeksa <mail@keldu.de>2024-01-23 16:23:53 +0100
commit80132c8e221aa5a922496c46e23432685885ba04 (patch)
treec12774a3fae6837659d925d083328799b7a8b997 /modules/window
parent8dad985328e2183b224300aa992951131956fdb3 (diff)
modules-all: Renamed every .h file to .hpp
Diffstat (limited to 'modules/window')
-rw-r--r--modules/window/c++/SConscript2
-rw-r--r--modules/window/c++/device.hpp10
-rw-r--r--modules/window/c++/linux_xcb.hpp2
-rw-r--r--modules/window/c++/window.hpp10
-rw-r--r--modules/window/c++/xcb.cpp2
-rw-r--r--modules/window/c++/xcb.hpp10
6 files changed, 18 insertions, 18 deletions
diff --git a/modules/window/c++/SConscript b/modules/window/c++/SConscript
index 10d88c6..0147ff5 100644
--- a/modules/window/c++/SConscript
+++ b/modules/window/c++/SConscript
@@ -13,7 +13,7 @@ dir_path = Dir('.').abspath
window_env = env.Clone();
window_env.sources = sorted(glob.glob(dir_path + "/*.cpp"))
-window_env.headers = sorted(glob.glob(dir_path + "/*.h"))
+window_env.headers = sorted(glob.glob(dir_path + "/*.hpp"))
env.sources += window_env.sources;
env.headers += window_env.headers;
diff --git a/modules/window/c++/device.hpp b/modules/window/c++/device.hpp
index f2524db..cfcc2e2 100644
--- a/modules/window/c++/device.hpp
+++ b/modules/window/c++/device.hpp
@@ -1,11 +1,11 @@
#pragma once
-#include "window.hpp
+#include "window.hpp"
-#include <forstio/async/async.h>
-#include <forstio/common.h>
-#include <forstio/codec/data.h>
-#include <forstio/io/io.h>
+#include <forstio/async/async.hpp>
+#include <forstio/common.hpp>
+#include <forstio/codec/data.hpp>
+#include <forstio/io/io.hpp>
#include <string_view>
#include <variant>
diff --git a/modules/window/c++/linux_xcb.hpp b/modules/window/c++/linux_xcb.hpp
index 534404c..5dd688d 100644
--- a/modules/window/c++/linux_xcb.hpp
+++ b/modules/window/c++/linux_xcb.hpp
@@ -1,5 +1,5 @@
#pragma once
#ifdef SAW_UNIX_XCB
-#include "xcb.hpp
+#include "xcb.hpp"
#endif
diff --git a/modules/window/c++/window.hpp b/modules/window/c++/window.hpp
index 4637ea7..68c625e 100644
--- a/modules/window/c++/window.hpp
+++ b/modules/window/c++/window.hpp
@@ -1,10 +1,10 @@
#pragma once
-#include "video_mode.hpp
+#include "video_mode.hpp"
-#include <forstio/async/async.h>
-#include <forstio/common.h>
-#include <forstio/codec/schema.h>
+#include <forstio/async/async.hpp>
+#include <forstio/common.hpp>
+#include <forstio/codec/schema.hpp>
#include <string_view>
#include <variant>
@@ -27,7 +27,7 @@ class window;
}
}
-#include "linux_xcb.hpp
+#include "linux_xcb.hpp"
/**
namespace saw {
diff --git a/modules/window/c++/xcb.cpp b/modules/window/c++/xcb.cpp
index 1b804ba..e90fa5a 100644
--- a/modules/window/c++/xcb.cpp
+++ b/modules/window/c++/xcb.cpp
@@ -2,7 +2,7 @@
#error "XCB is not supported"
#endif
-#include "xcb.h"
+#include "xcb.hpp"
namespace saw {
namespace gfx {
diff --git a/modules/window/c++/xcb.hpp b/modules/window/c++/xcb.hpp
index 4c7b9fa..1694923 100644
--- a/modules/window/c++/xcb.hpp
+++ b/modules/window/c++/xcb.hpp
@@ -4,14 +4,14 @@
#error "XCB is not supported"
#endif
-#include "backends.hpp
-#include "device.hpp
-#include "window.hpp
+#include "backends.hpp"
+#include "device.hpp"
+#include "window.hpp"
#include <map>
-#include <X11/Xlib-xcb.h>
-#include <X11/Xlib.h>
+#include <X11/Xlib-xcb.hpp>
+#include <X11/Xlib.hpp>
namespace saw {
namespace gfx {