From b3e76bf866b4223390585589786600475c9fdcae Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 15 Mar 2024 08:03:35 +0100 Subject: API: Inconsitency fix. Signed-off-by: Amlal El Mahrouss --- Public/Kits/System.Graphics/Core.hxx | 8 ++++---- Public/Kits/System.Graphics/Dim2d.cxx | 4 ++-- Public/Kits/System.Graphics/Dim2d.hxx | 4 ++-- Public/Kits/System.Graphics/Frame.cxx | 4 ++-- Public/Kits/System.Graphics/Frame.hxx | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) (limited to 'Public/Kits/System.Graphics') diff --git a/Public/Kits/System.Graphics/Core.hxx b/Public/Kits/System.Graphics/Core.hxx index db9aa36f..d0f62418 100644 --- a/Public/Kits/System.Graphics/Core.hxx +++ b/Public/Kits/System.Graphics/Core.hxx @@ -14,7 +14,7 @@ #pragma once -#include +#include #include #include #include @@ -28,7 +28,7 @@ #define G_API __attribute__((pef_container(".EXPORT"))) #endif // ifdef __EXPORT_LIB -namespace HCore { +namespace System::Graphics { template class GAction; @@ -143,7 +143,7 @@ class G_API GApplication final { class G_API GDocument final { public: - explicit GDocument(StringView& sv) : mString(GString::Construct(sv)) {} + explicit GDocument(HCore::StringView& sv) : mString(GString::Construct(sv)) {} ~GDocument() = default; HCORE_COPY_DEFAULT(GDocument); @@ -182,4 +182,4 @@ inline GFrameType* frame_cast(GFrameBase* Frame) { return dynamic_cast(Frame); } -} // namespace HCore +} // namespace System::Graphics diff --git a/Public/Kits/System.Graphics/Dim2d.cxx b/Public/Kits/System.Graphics/Dim2d.cxx index 8623a0e1..5925660d 100644 --- a/Public/Kits/System.Graphics/Dim2d.cxx +++ b/Public/Kits/System.Graphics/Dim2d.cxx @@ -13,8 +13,8 @@ #include -namespace HCore { +namespace System::Graphics { HCore::UInt& Dim2d::X() { return m_X; } HCore::UInt& Dim2d::Y() { return m_Y; } -} // namespace HCore +} // namespace System::Graphics diff --git a/Public/Kits/System.Graphics/Dim2d.hxx b/Public/Kits/System.Graphics/Dim2d.hxx index a4f5fa8d..77d42c90 100644 --- a/Public/Kits/System.Graphics/Dim2d.hxx +++ b/Public/Kits/System.Graphics/Dim2d.hxx @@ -17,7 +17,7 @@ #include -namespace HCore { +namespace System::Graphics { class G_API Dim2d final { public: explicit Dim2d() = delete; @@ -33,6 +33,6 @@ class G_API Dim2d final { HCore::UInt m_X{0}; HCore::UInt m_Y{0}; }; -} // namespace HCore +} // namespace System::Graphics #endif /* ifndef __DIM2D__ */ diff --git a/Public/Kits/System.Graphics/Frame.cxx b/Public/Kits/System.Graphics/Frame.cxx index 10726b57..ddb7b5ce 100644 --- a/Public/Kits/System.Graphics/Frame.cxx +++ b/Public/Kits/System.Graphics/Frame.cxx @@ -13,6 +13,6 @@ #include -namespace HCore { +namespace System::Graphics { -} // namespace HCore +} // namespace System::Graphics diff --git a/Public/Kits/System.Graphics/Frame.hxx b/Public/Kits/System.Graphics/Frame.hxx index e0d52a4c..6c305cd3 100644 --- a/Public/Kits/System.Graphics/Frame.hxx +++ b/Public/Kits/System.Graphics/Frame.hxx @@ -17,7 +17,7 @@ #include #include -namespace HCore { +namespace System::Graphics { class G_API GFrame { public: explicit GFrame(GFrame* parent = nullptr) : m_ParentFrame(parent) {} @@ -56,4 +56,4 @@ class G_API GFrame { HCore::MutableArray m_Frames; GFrame* m_ParentFrame{nullptr}; }; -} // namespace HCore +} // namespace System::Graphics -- cgit v1.2.3