From 78e1f8dbe9b1b5f6b1679648282aeb8cc5fdfbbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Capelle?= Date: Sun, 4 Aug 2024 18:52:09 +0200 Subject: [PATCH] Move extension-related headers to an extensions/ subfolder. --- include/uibase/{ => extensions}/extension.h | 0 include/uibase/{ => extensions}/iextensionlist.h | 0 include/uibase/{ => extensions}/ipluginloader.h | 0 include/uibase/{ => extensions}/requirements.h | 0 include/uibase/{ => extensions}/theme.h | 0 include/uibase/{ => extensions}/translation.h | 0 src/CMakeLists.txt | 12 ++++++------ src/extension.cpp | 2 +- src/requirements.cpp | 6 +++--- src/theme.cpp | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) rename include/uibase/{ => extensions}/extension.h (100%) rename include/uibase/{ => extensions}/iextensionlist.h (100%) rename include/uibase/{ => extensions}/ipluginloader.h (100%) rename include/uibase/{ => extensions}/requirements.h (100%) rename include/uibase/{ => extensions}/theme.h (100%) rename include/uibase/{ => extensions}/translation.h (100%) diff --git a/include/uibase/extension.h b/include/uibase/extensions/extension.h similarity index 100% rename from include/uibase/extension.h rename to include/uibase/extensions/extension.h diff --git a/include/uibase/iextensionlist.h b/include/uibase/extensions/iextensionlist.h similarity index 100% rename from include/uibase/iextensionlist.h rename to include/uibase/extensions/iextensionlist.h diff --git a/include/uibase/ipluginloader.h b/include/uibase/extensions/ipluginloader.h similarity index 100% rename from include/uibase/ipluginloader.h rename to include/uibase/extensions/ipluginloader.h diff --git a/include/uibase/requirements.h b/include/uibase/extensions/requirements.h similarity index 100% rename from include/uibase/requirements.h rename to include/uibase/extensions/requirements.h diff --git a/include/uibase/theme.h b/include/uibase/extensions/theme.h similarity index 100% rename from include/uibase/theme.h rename to include/uibase/extensions/theme.h diff --git a/include/uibase/translation.h b/include/uibase/extensions/translation.h similarity index 100% rename from include/uibase/translation.h rename to include/uibase/extensions/translation.h diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f96f9e29..3eb113e8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -34,12 +34,12 @@ set(root_headers ../include/uibase/versioninfo.h ) set(extension_headers - ../include/uibase/extension.h - ../include/uibase/iextensionlist.h - ../include/uibase/ipluginloader.h - ../include/uibase/requirements.h - ../include/uibase/theme.h - ../include/uibase/translation.h + ../include/uibase/extensions/extension.h + ../include/uibase/extensions/iextensionlist.h + ../include/uibase/extensions/ipluginloader.h + ../include/uibase/extensions/requirements.h + ../include/uibase/extensions/theme.h + ../include/uibase/extensions/translation.h ) set(interface_headers ../include/uibase/ifiletree.h diff --git a/src/extension.cpp b/src/extension.cpp index bf0db9a9..0b2f83eb 100644 --- a/src/extension.cpp +++ b/src/extension.cpp @@ -1,4 +1,4 @@ -#include "extension.h" +#include "extensions/extension.h" #include #include diff --git a/src/requirements.cpp b/src/requirements.cpp index 08c0e77c..894f56e7 100644 --- a/src/requirements.cpp +++ b/src/requirements.cpp @@ -1,8 +1,8 @@ -#include "requirements.h" +#include "extensions/requirements.h" #include -#include "extension.h" +#include "extensions/extension.h" #include "imoinfo.h" #include "log.h" @@ -49,4 +49,4 @@ ExtensionRequirementFactory::parseRequirements(const ExtensionMetaData& metadata } return requirements; -} \ No newline at end of file +} diff --git a/src/theme.cpp b/src/theme.cpp index 4431ebce..4d099863 100644 --- a/src/theme.cpp +++ b/src/theme.cpp @@ -1,4 +1,4 @@ -#include "theme.h" +#include "extensions/theme.h" #include "utility.h"