summaryrefslogtreecommitdiff
path: root/plugin/src/Caelestia/cutils.hpp
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-06 00:24:54 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-06 00:24:54 +1000
commitcfc1dc447c8bf6306de74d1fb1dba7943a1e1232 (patch)
tree3c3fa2f649635a071173032f01c647af9a80b0f2 /plugin/src/Caelestia/cutils.hpp
parentnix: fix package name typo (#567) (diff)
downloadcaelestia-shell-cfc1dc447c8bf6306de74d1fb1dba7943a1e1232.tar.gz
caelestia-shell-cfc1dc447c8bf6306de74d1fb1dba7943a1e1232.tar.bz2
caelestia-shell-cfc1dc447c8bf6306de74d1fb1dba7943a1e1232.zip
plugin: namespace everything
Diffstat (limited to 'plugin/src/Caelestia/cutils.hpp')
-rw-r--r--plugin/src/Caelestia/cutils.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/src/Caelestia/cutils.hpp b/plugin/src/Caelestia/cutils.hpp
index 42d4418..654c333 100644
--- a/plugin/src/Caelestia/cutils.hpp
+++ b/plugin/src/Caelestia/cutils.hpp
@@ -4,6 +4,8 @@
#include <qobject.h>
#include <qqmlintegration.h>
+namespace caelestia {
+
class CUtils : public QObject {
Q_OBJECT
QML_ELEMENT
@@ -37,3 +39,5 @@ private:
QColor findDominantColour(const QImage& image, int rescaleSize) const;
qreal findAverageLuminance(const QImage& image, int rescaleSize) const;
};
+
+} // namespace caelestia