diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1a3d305..8796e1e 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,7 @@
#-----------------------------------------------------------------------------------------
set(PROJ_NAME omnia-framework)
set(MAJOR_VER 0)
-set(MINOR_VER 2)
+set(MINOR_VER 3)
#-----------------------------------------------------------------------------------------
#Setup
@@ -42,33 +42,41 @@ list(APPEND OSTD_SOURCE_FILES
${CMAKE_CURRENT_LIST_DIR}/src/ostd/vendor/midifile/MidiMessage.cpp
${CMAKE_CURRENT_LIST_DIR}/src/ostd/vendor/midifile/Options.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/BaseObject.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/Color.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/Console.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/Errors.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/File.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/FileSystem.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/Geometry.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/Json.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/Keyboard.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/Logger.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/Logic.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/md5.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/Midi.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/OutputHandlers.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/PathFinder.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/QuadTree.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/ShuntingYard.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/Signals.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/Random.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/Serial.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/SineWave.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/Spline.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/StringEditor.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/String.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/TextStyleParser.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/Time.cpp
- ${CMAKE_CURRENT_LIST_DIR}/src/ostd/Utils.cpp
+ # data_types
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/data_types/BaseObject.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/data_types/Color.cpp
+
+ # io
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/io/Console.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/io/Errors.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/io/File.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/io/FileSystem.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/io/Json.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/io/Keyboard.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/io/Logger.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/io/Midi.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/io/OutputHandlers.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/io/Serial.cpp
+
+ # math
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/math/Geometry.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/math/ShuntingYard.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/math/Random.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/math/SineWave.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/math/Spline.cpp
+
+ # string
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/string/String.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/string/TextStyleParser.cpp
+
+ # utils
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/utils/Logic.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/utils/md5.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/utils/PathFinder.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/utils/QuadTree.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/utils/Signals.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/utils/Time.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/ostd/utils/Utils.cpp
)
list(APPEND OGFX_SOURCE_FILES
${CMAKE_CURRENT_LIST_DIR}/src/ogfx/FontUtils.cpp
@@ -101,8 +109,12 @@ target_include_directories(${TEST_TARGET} PUBLIC ${INCLUDE_DIRS})
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
add_compile_options(-O3 -MMD -MP -Wall -ggdb -fsanitize=address)
+ target_compile_definitions(${OMNIA_STD_LIB} PUBLIC OX_DEBUG_BUILD)
+ target_compile_definitions(${OMNIA_GFX_LIB} PUBLIC OX_DEBUG_BUILD)
elseif(CMAKE_BUILD_TYPE STREQUAL "Release")
add_compile_options(-MMD -MP -Wall)
+ target_compile_definitions(${OMNIA_STD_LIB} PUBLIC OX_RELEASE_BUILD)
+ target_compile_definitions(${OMNIA_GFX_LIB} PUBLIC OX_RELEASE_BUILD)
endif()
#-----------------------------------------------------------------------------------------
diff --git a/other/build.nr b/other/build.nr
index 54ece5b..2663d7c 100644
--- a/other/build.nr
+++ b/other/build.nr
@@ -1 +1 @@
-1974
+2001
diff --git a/src/ogfx/BasicRenderer.hpp b/src/ogfx/BasicRenderer.hpp
index 7dbcea7..b8af068 100644
--- a/src/ogfx/BasicRenderer.hpp
+++ b/src/ogfx/BasicRenderer.hpp
@@ -1,7 +1,27 @@
+/*
+ OmniaFramework - A collection of useful functionality
+ Copyright (C) 2025 OmniaX-Dev
+
+ This file is part of OmniaFramework.
+
+ OmniaFramework is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ OmniaFramework is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with OmniaFramework. If not, see .
+*/
+
#pragma once
#include
-#include
+#include
#include
namespace ogfx
diff --git a/src/ogfx/FontUtils.hpp b/src/ogfx/FontUtils.hpp
index b295430..feff883 100644
--- a/src/ogfx/FontUtils.hpp
+++ b/src/ogfx/FontUtils.hpp
@@ -1,8 +1,28 @@
+/*
+ OmniaFramework - A collection of useful functionality
+ Copyright (C) 2025 OmniaX-Dev
+
+ This file is part of OmniaFramework.
+
+ OmniaFramework is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ OmniaFramework is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with OmniaFramework. If not, see .
+*/
+
#pragma once
#include
-#include
-#include
+#include
+#include
namespace ogfx
{
diff --git a/src/ogfx/Image.hpp b/src/ogfx/Image.hpp
index 4544b5f..8bd26cc 100644
--- a/src/ogfx/Image.hpp
+++ b/src/ogfx/Image.hpp
@@ -1,8 +1,28 @@
+/*
+ OmniaFramework - A collection of useful functionality
+ Copyright (C) 2025 OmniaX-Dev
+
+ This file is part of OmniaFramework.
+
+ OmniaFramework is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ OmniaFramework is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with OmniaFramework. If not, see .
+*/
+
#pragma once
-#include
+#include
#include
-#include
+#include
namespace ogfx
{
@@ -15,8 +35,8 @@ namespace ogfx
inline ~Image(void) { destroy(); }
void destroy(void);
Image& loadFromFile(const ostd::String& filePath, BasicRenderer2D& gfx);
- inline ostd::IPoint getSize(void) const { return { m_width, m_height }; }
- inline bool isLoaded(void) const { return m_loaded; }
+ inline ostd::IPoint getSize(void) const { return { m_width, m_height }; }
+ inline bool isLoaded(void) const { return m_loaded; }
inline SDL_Texture* getSDLTexture(void) const { return m_sdl_texture; }
private:
diff --git a/src/ogfx/PixelRenderer.cpp b/src/ogfx/PixelRenderer.cpp
index 88f81ee..3dd1579 100644
--- a/src/ogfx/PixelRenderer.cpp
+++ b/src/ogfx/PixelRenderer.cpp
@@ -1,6 +1,6 @@
#include "PixelRenderer.hpp"
#include "WindowBase.hpp"
-#include
+#include "../ostd/utils/Utils.hpp"
namespace ogfx
{
diff --git a/src/ogfx/PixelRenderer.hpp b/src/ogfx/PixelRenderer.hpp
index 62f7a5c..e399c5b 100644
--- a/src/ogfx/PixelRenderer.hpp
+++ b/src/ogfx/PixelRenderer.hpp
@@ -1,8 +1,28 @@
+/*
+ OmniaFramework - A collection of useful functionality
+ Copyright (C) 2025 OmniaX-Dev
+
+ This file is part of OmniaFramework.
+
+ OmniaFramework is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ OmniaFramework is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with OmniaFramework. If not, see .
+*/
+
#pragma once
-#include
-#include
-#include
+#include
+#include
+#include
#include
#include
diff --git a/src/ogfx/RawTextInput.cpp b/src/ogfx/RawTextInput.cpp
index 11dd097..5c7b5d5 100644
--- a/src/ogfx/RawTextInput.cpp
+++ b/src/ogfx/RawTextInput.cpp
@@ -1,6 +1,6 @@
#include "RawTextInput.hpp"
#include
-#include
+#include
namespace ogfx
{
@@ -165,7 +165,7 @@ namespace ogfx
if (!found)
parent.m_cursorPosition = text.len();
}
- parent.m_cursorState = true;
+ parent.m_cursorState = true;
}
}
@@ -195,7 +195,7 @@ namespace ogfx
m_paddingX = (4.0f * geth()) / 30.0f;
m_fontSize = (int32_t)(geth() * 0.66);
float cursor_height_scale = 0.75f;
-
+
ostd::IPoint strSize { 0, 0 };
if (m_cursorPosition > 0 && m_text != "")
{
@@ -206,19 +206,19 @@ namespace ogfx
gfx.outlinedRect(*this, m_theme.backgroundColor, m_theme.borderColor, 2);
if (m_text.len() > 0)
gfx.drawString(m_text, getPosition() + ostd::Vec2 { m_paddingX + m_theme.extraPaddingLeft, m_paddingX + m_theme.extraPaddingTop}, m_theme.textColor, m_fontSize);
-
+
if (m_cursorState || !m_theme.cursorBlink)
gfx.fillRect({ getx() + m_paddingX + m_theme.extraPaddingLeft + strSize.x - 1, gety() + m_paddingX + m_theme.extraPaddingTop, (float)m_theme.cursorWidth, (float)m_fontSize * cursor_height_scale }, m_theme.cursorColor);
-
+
onRender(gfx);
}
-
+
void RawTextInput::update(void)
{
m_keyRepeatCounter.update();
onUpdate();
}
-
+
void RawTextInput::fixedUpdate(void)
{
if (m_theme.cursorBlink)
@@ -284,4 +284,4 @@ namespace ogfx
}
}
}
-}
\ No newline at end of file
+}
diff --git a/src/ogfx/RawTextInput.hpp b/src/ogfx/RawTextInput.hpp
index 0b4ced4..3277f3d 100644
--- a/src/ogfx/RawTextInput.hpp
+++ b/src/ogfx/RawTextInput.hpp
@@ -1,7 +1,28 @@
+/*
+ OmniaFramework - A collection of useful functionality
+ Copyright (C) 2025 OmniaX-Dev
+
+ This file is part of OmniaFramework.
+
+ OmniaFramework is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ OmniaFramework is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with OmniaFramework. If not, see .
+*/
+
#pragma once
#include
-#include
+#include
+
namespace ogfx
{
namespace gui
diff --git a/src/ogfx/SDLInclude.hpp b/src/ogfx/SDLInclude.hpp
index 687a169..fced569 100644
--- a/src/ogfx/SDLInclude.hpp
+++ b/src/ogfx/SDLInclude.hpp
@@ -1,3 +1,23 @@
+/*
+ OmniaFramework - A collection of useful functionality
+ Copyright (C) 2025 OmniaX-Dev
+
+ This file is part of OmniaFramework.
+
+ OmniaFramework is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ OmniaFramework is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with OmniaFramework. If not, see .
+*/
+
#pragma once
#ifdef _WIN32
diff --git a/src/ogfx/WindowBase.cpp b/src/ogfx/WindowBase.cpp
index f5e26ce..4f5c766 100644
--- a/src/ogfx/WindowBase.cpp
+++ b/src/ogfx/WindowBase.cpp
@@ -1,5 +1,5 @@
#include "WindowBase.hpp"
-#include "Time.hpp"
+#include "../ostd/utils/Time.hpp"
namespace ogfx
{
diff --git a/src/ogfx/WindowBase.hpp b/src/ogfx/WindowBase.hpp
index 3a0a35a..0db6555 100644
--- a/src/ogfx/WindowBase.hpp
+++ b/src/ogfx/WindowBase.hpp
@@ -1,9 +1,29 @@
+/*
+ OmniaFramework - A collection of useful functionality
+ Copyright (C) 2025 OmniaX-Dev
+
+ This file is part of OmniaFramework.
+
+ OmniaFramework is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ OmniaFramework is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with OmniaFramework. If not, see .
+*/
+
#pragma once
#include
-#include
-#include
-#include
+#include
+#include
+#include
namespace ogfx
{
diff --git a/src/ogfx/WindowBaseOutputHandler.cpp b/src/ogfx/WindowBaseOutputHandler.cpp
index 58e7ee0..265db29 100644
--- a/src/ogfx/WindowBaseOutputHandler.cpp
+++ b/src/ogfx/WindowBaseOutputHandler.cpp
@@ -1,6 +1,6 @@
#include "WindowBaseOutputHandler.hpp"
#include "BasicRenderer.hpp"
-#include "TextStyleParser.hpp"
+#include "../string/TextStyleParser.hpp"
namespace ogfx
{
diff --git a/src/ogfx/WindowBaseOutputHandler.hpp b/src/ogfx/WindowBaseOutputHandler.hpp
index f06fd5c..4cb52d1 100644
--- a/src/ogfx/WindowBaseOutputHandler.hpp
+++ b/src/ogfx/WindowBaseOutputHandler.hpp
@@ -1,7 +1,27 @@
+/*
+ OmniaFramework - A collection of useful functionality
+ Copyright (C) 2025 OmniaX-Dev
+
+ This file is part of OmniaFramework.
+
+ OmniaFramework is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ OmniaFramework is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with OmniaFramework. If not, see .
+*/
+
#pragma once
-#include
-#include
+#include
+#include
#include
namespace ogfx
diff --git a/src/ostd/Defines.hpp b/src/ostd/Defines.hpp
deleted file mode 100755
index cf0c401..0000000
--- a/src/ostd/Defines.hpp
+++ /dev/null
@@ -1,86 +0,0 @@
-#ifndef __DEFINES_HPP__
-#define __DEFINES_HPP__
-
-#if defined(_WIN32) || defined(_WIN64)
- #define WINDOWS_OS
- #ifdef _WIN32_WINNT
- #undef _WIN32_WINNT
- #endif
- #define _WIN32_WINNT 0x0501
-#elif defined(__APPLE__)
- #define MAC_OS
-#else
- #define LINUX_OS
-#endif
-
-//Basic constants
-#if !defined(BUILD_NR)
- #define BUILD_NR 0
-#endif
-#if !defined(MAJ_V)
- #define MAJ_V 0
-#endif
-#if !defined(MIN_V)
- #define MIN_V 0
-#endif
-#if !defined(VERSION_STR)
- #define VERSION_STR "0.0.0"
-#endif
-#if !defined(NULL)
- #define NULL 0
-#endif
-
-#define PI 3.1415926535898f
-#define TWO_PI PI * 2.0f
-#define HALF_PI PI / 2.0f
-#define QUARTER_PI PI / 4.0f
-#define DEG_TO_RAD(deg) (float)(deg * (PI / 180.0f))
-#define RAD_TO_DEG(rad) (float)(rad * (180.0f / PI))
-
-//Game Time constants
-#define TM_R_SECONDS_FOR_G_MINUTE 1
-#define TM_G_MINUTES_FOR_G_HOUR 60
-#define TM_G_HOURS_FOR_G_DAY 24
-#define TM_G_DAYS_FOR_G_LONG_MONTH 31
-#define TM_G_DAYS_FOR_G_MEDIUM_MONTH 30
-#define TM_G_DAYS_FOR_G_SHORT_MONTH 28
-
-//Macro functions
-#define ERROR_DATA() String(CPP_STR(__LINE__)), String(__FILE__)
-#define STR_BOOL(b) (b ? "true" : "false")
-#define INT_BOOL(i) (i == 0 ? false : true)
-#define ZERO(n) (n > 0 ? n : 0)
-#define FRAND() ((float)(rand() % 10000)) / 10000.0f
-#define RANDOM(min, max) rand() % (max - min + 1) + min
-#define LERP(n1, n2, f) (n2 - n1) * f + n1
-#define CAP(n, max) (n > max ? max : n)
-#define CAPD(n, min) (n < min ? min : n)
-#define CAPB(n, min, max) (n < min ? min : (n > max ? max : n))
-#define MAX(n1, n2) std::max(n1, n2)
-#define MIN(n1, n2) std::min(n1, n2)
-#define PROPORTION(w, x, y) ((x * w) / y)
-#define CONVERT_1D_2D(i, width) ostd::IPoint(i % width, i / width)
-#define CONVERT_2D_1D(x, y, width) (x + width * y)
-#define PRINT(data) std::cout << data
-#define PRINTLN(data) std::cout << data << "\n"
-#define NEWLN() std::cout << "\n"
-#define STDVEC_CONTAINS(vec, elem) (std::find(vec.begin(), vec.end(), elem) != vec.end())
-
-//Memory management macros
-#define new_sh(type) std::make_shared
-#define sh_ptr(type) std::shared_ptr
-#define new_un(type) std::make_unique
-#define un_ptr(type) std::unique_ptr
-
-#define OX_NO_ERROR 0x00000000
-#define OX_WINDOW_ERR_MASK 0x00000000
-#define OX_SHADER_ERR_MASK 0x00001000
-#define OX_GLBUFFERS_ERR_MASK 0x00002000
-#define OX_TEXTURE_ERR_MASK 0x00003000
-#define OX_GFX_APPLICATION_2D_ERR_MASK 0x00004000
-#define OX_BITMAPFONT_ERR_MASK 0x00005000
-#define OX_RENDERER2D_ERR_MASK 0x00006000
-#define OX_RENDERTARGET_ERR_MASK 0x00007000
-#define OX_RENDERER2D_TEXT_ERR_MASK 0x00008000
-
-#endif
diff --git a/src/ostd/Errors.hpp b/src/ostd/Errors.hpp
deleted file mode 100755
index 44e9c9d..0000000
--- a/src/ostd/Errors.hpp
+++ /dev/null
@@ -1,36 +0,0 @@
-#ifndef __ERRORS_HPP__
-#define __ERRORS_HPP__
-
-#include
-#include
-#include
-
-namespace ostd
-{
- struct tErrorLevel
- {
- inline static constexpr uint8_t NoError = 0x00;
- inline static constexpr uint8_t Warning = 0x01;
- inline static constexpr uint8_t Error = 0x02;
- inline static constexpr uint8_t Fatal = 0x03;
- };
-
- class RuntimeError : public BaseObject
- {
- public:
- inline RuntimeError(void) { invalidate(); }
- inline RuntimeError(uint8_t group, uint64_t code, uint8_t level, const String& msg) { create(group, code, level, msg); }
- RuntimeError& create(uint8_t group, uint64_t code, uint8_t level, const String& msg);
-
- void fire(const String& extraMessage = "", OutputHandlerBase* outputHandler = nullptr, BaseObject& userData = BaseObject::InvalidRef(), int32_t _line_num = 0, const String& _file_name = "");
-
- private:
- uint8_t m_errGroup { 0x00 };
- uint8_t m_errLevel { tErrorLevel::NoError };
- uint64_t m_errCode { 0x0000000000000000 };
- String m_message { "" };
-
- };
-}
-
-#endif
diff --git a/src/ostd/Logic.hpp b/src/ostd/Logic.hpp
deleted file mode 100755
index 1ff7dd9..0000000
--- a/src/ostd/Logic.hpp
+++ /dev/null
@@ -1,36 +0,0 @@
-#ifndef __LOGIC_HPP__
-#define __LOGIC_HPP__
-
-#include