From 6decb96948f61b9a311467ecdb621a048fbcd3d6 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 5 Dec 2025 16:48:25 -0500 Subject: chore: CompilerKit breaking changes. Signed-off-by: Amlal El Mahrouss --- include/CompilerKit/CodeGenerator.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'include/CompilerKit/CodeGenerator.h') diff --git a/include/CompilerKit/CodeGenerator.h b/include/CompilerKit/CodeGenerator.h index 383f170..79b185b 100644 --- a/include/CompilerKit/CodeGenerator.h +++ b/include/CompilerKit/CodeGenerator.h @@ -10,12 +10,12 @@ #include #include -#define CK_ASSEMBLY_INTERFACE : public ::CompilerKit::AssemblyInterface +#define CK_ASSEMBLY_INTERFACE : public ::CompilerKit::IAssembly #define CK_ENCODER : public ::CompilerKit::EncoderInterface namespace CompilerKit { class AssemblyFactory; -class AssemblyInterface; +class IAssembly; /// =========================================================== /// /// @brief Simple assembly factory @@ -42,23 +42,23 @@ class AssemblyFactory final { Int32 Compile(std::string sourceFile, const Int32& arch) noexcept; - void Mount(AssemblyInterface* mountPtr) noexcept; - AssemblyInterface* Unmount() noexcept; + void Mount(IAssembly* mountPtr) noexcept; + IAssembly* Unmount() noexcept; private: - AssemblyInterface* fMounted{nullptr}; + IAssembly* fMounted{nullptr}; }; /// =========================================================== /// /// @brief Assembly to binary generator class. /// @note This interface creates according to the CPU target of the child class. /// =========================================================== /// -class AssemblyInterface { +class IAssembly { public: - explicit AssemblyInterface() = default; - virtual ~AssemblyInterface() = default; + explicit IAssembly() = default; + virtual ~IAssembly() = default; - NECTI_COPY_DEFAULT(AssemblyInterface); + NECTI_COPY_DEFAULT(IAssembly); virtual UInt32 Arch() noexcept { return AssemblyFactory::kArchAMD64; } -- cgit v1.2.3