From c8dc78247cffb17a817c609aa410e3d0a636fe52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr?= Date: Tue, 1 Oct 2024 14:57:10 +0300 Subject: [PATCH] updated versions to v3 --- CMakeLists.txt | 6 ++--- HephAudio/HeaderFiles/HephAudioShared.h | 6 ++--- HephCommon/HeaderFiles/HephShared.h | 32 ------------------------- HephCommon/SourceFiles/HephShared.cpp | 22 ----------------- docs/Doxyfile | 2 +- 5 files changed, 7 insertions(+), 61 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 20b6f035..69fe7e28 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,8 @@ cmake_minimum_required(VERSION 3.25) -set(HEPHAUDIO_VERSION_MAJOR 2) -set(HEPHAUDIO_VERSION_MINOR 2) -set(HEPHAUDIO_VERSION_PATCH 3) +set(HEPHAUDIO_VERSION_MAJOR 3) +set(HEPHAUDIO_VERSION_MINOR 0) +set(HEPHAUDIO_VERSION_PATCH 0) set(HEPHAUDIO_VERSION ${HEPHAUDIO_VERSION_MAJOR}.${HEPHAUDIO_VERSION_MINOR}.${HEPHAUDIO_VERSION_PATCH}) option(ENABLE_STATIC "ENABLE_STATIC" Off) diff --git a/HephAudio/HeaderFiles/HephAudioShared.h b/HephAudio/HeaderFiles/HephAudioShared.h index 59023d77..272118b2 100644 --- a/HephAudio/HeaderFiles/HephAudioShared.h +++ b/HephAudio/HeaderFiles/HephAudioShared.h @@ -12,19 +12,19 @@ * major part of the version. * */ -#define HEPHAUDIO_VERSION_MAJOR 2 +#define HEPHAUDIO_VERSION_MAJOR 3 /** * minor part of the version. * */ -#define HEPHAUDIO_VERSION_MINOR 2 +#define HEPHAUDIO_VERSION_MINOR 0 /** * patch part of the version. * */ -#define HEPHAUDIO_VERSION_PATCH 3 +#define HEPHAUDIO_VERSION_PATCH 0 /** * full version as string litteral. diff --git a/HephCommon/HeaderFiles/HephShared.h b/HephCommon/HeaderFiles/HephShared.h index 9e8b9668..e7a36d04 100644 --- a/HephCommon/HeaderFiles/HephShared.h +++ b/HephCommon/HeaderFiles/HephShared.h @@ -44,33 +44,6 @@ */ #define HEPH_TOSTRING(x) HEPH_STRINGIFY(x) - /** - * major part of the version. - * - */ -#define HEPH_VERSION_MAJOR 2 - - /** - * minor part of the version. - * - */ -#define HEPH_VERSION_MINOR 2 - - /** - * patch part of the version. - * - */ -#define HEPH_VERSION_PATCH 3 - - /** - * full version as string litteral. - * - */ -#define HEPH_VERSION "v" \ - HEPH_TOSTRING(HEPH_VERSION_MAJOR) "." \ - HEPH_TOSTRING(HEPH_VERSION_MINOR) "." \ - HEPH_TOSTRING(HEPH_VERSION_PATCH) - #if defined(_MSVC_LANG) #define CPP_VERSION _MSVC_LANG @@ -174,11 +147,6 @@ namespace Heph { - HEPH_API const char* GetVersion(); - HEPH_API unsigned int GetVersionMajor(); - HEPH_API unsigned int GetVersionMinor(); - HEPH_API unsigned int GetVersionPatch(); - enum Endian : uint8_t { Little = 0x00, diff --git a/HephCommon/SourceFiles/HephShared.cpp b/HephCommon/SourceFiles/HephShared.cpp index 501509c0..63df2078 100644 --- a/HephCommon/SourceFiles/HephShared.cpp +++ b/HephCommon/SourceFiles/HephShared.cpp @@ -2,28 +2,6 @@ namespace Heph { - static const char* const __version = HEPH_VERSION; - - const char* GetVersion() - { - return __version; - } - - unsigned int GetVersionMajor() - { - return HEPH_VERSION_MAJOR; - } - - unsigned int GetVersionMinor() - { - return HEPH_VERSION_MINOR; - } - - unsigned int GetVersionPatch() - { - return HEPH_VERSION_PATCH; - } - Endian GetSystemEndian() { uint16_t n = 0x0001; diff --git a/docs/Doxyfile b/docs/Doxyfile index 6ae33a98..bdc287ae 100644 --- a/docs/Doxyfile +++ b/docs/Doxyfile @@ -48,7 +48,7 @@ PROJECT_NAME = "HephAudio" # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = "v2.2.3" +PROJECT_NUMBER = "v3.0.0" # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a