diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-15 08:03:35 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-15 08:03:35 +0100 |
| commit | b3e76bf866b4223390585589786600475c9fdcae (patch) | |
| tree | 7b10c496e94aa98dedf441f67fb39d0aaa7fbda9 /Public/Kits/System.Graphics | |
| parent | 159d312c0dd3c02995950270e173cc10ade273cf (diff) | |
API: Inconsitency fix.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Public/Kits/System.Graphics')
| -rw-r--r-- | Public/Kits/System.Graphics/Core.hxx | 8 | ||||
| -rw-r--r-- | Public/Kits/System.Graphics/Dim2d.cxx | 4 | ||||
| -rw-r--r-- | Public/Kits/System.Graphics/Dim2d.hxx | 4 | ||||
| -rw-r--r-- | Public/Kits/System.Graphics/Frame.cxx | 4 | ||||
| -rw-r--r-- | Public/Kits/System.Graphics/Frame.hxx | 4 |
5 files changed, 12 insertions, 12 deletions
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 <CompilerKit/CompilerKit.hpp> +#include <CompilerKit/CompilerKit.hxx> #include <NewKit/Array.hpp> #include <NewKit/Defines.hpp> #include <NewKit/Ref.hpp> @@ -28,7 +28,7 @@ #define G_API __attribute__((pef_container(".EXPORT"))) #endif // ifdef __EXPORT_LIB -namespace HCore { +namespace System::Graphics { template <typename... T> 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<GFrameType*>(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 <System.Graphics/Dim2d.hxx> -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 <System.Graphics/Core.hxx> -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 <System.Graphics/Frame.hxx> -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 <System.Graphics/Dim2d.hxx> #include <NewKit/MutableArray.hpp> -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<GFrame*> m_Frames; GFrame* m_ParentFrame{nullptr}; }; -} // namespace HCore +} // namespace System::Graphics |
