2024-02-05 22:25:30 -08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#if defined(NDEBUG)
|
|
|
|
#define EHS_RELEASE
|
|
|
|
#else
|
|
|
|
#define EHS_DEBUG
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "Types.h"
|
|
|
|
#include "ehs/system/OS.h"
|
|
|
|
#include "Version.h"
|
|
|
|
#include "Str.h"
|
|
|
|
|
|
|
|
namespace ehs
|
|
|
|
{
|
2024-07-24 01:36:20 -07:00
|
|
|
enum class MemoryPattern
|
2024-02-05 22:25:30 -08:00
|
|
|
{
|
|
|
|
SPEED,
|
|
|
|
SIZE
|
|
|
|
};
|
|
|
|
|
2024-07-24 01:36:20 -07:00
|
|
|
EHS_LIB_IO void Initialize(Str_8 appName, Str_8 appVerId, const Version &appVer);
|
|
|
|
|
|
|
|
EHS_LIB_IO void Uninitialize();
|
|
|
|
|
2024-02-05 22:25:30 -08:00
|
|
|
/// Retrieves the UTF32 C-style string as "Event Horizon Standard"
|
|
|
|
/// @returns The result.
|
2024-07-24 01:36:20 -07:00
|
|
|
EHS_LIB_IO const Char_32* GetName_32();
|
2024-02-05 22:25:30 -08:00
|
|
|
|
|
|
|
/// Retrieves the UTF16 C-style string as "Event Horizon Standard"
|
|
|
|
/// @returns The result.
|
2024-07-24 01:36:20 -07:00
|
|
|
EHS_LIB_IO const Char_16* GetName_16();
|
2024-02-05 22:25:30 -08:00
|
|
|
|
|
|
|
/// Retrieves the UTF8 C-style string as "Event Horizon Standard"
|
|
|
|
/// @returns The result.
|
2024-07-24 01:36:20 -07:00
|
|
|
EHS_LIB_IO const Char_8* GetName_8();
|
2024-02-05 22:25:30 -08:00
|
|
|
|
2024-07-24 01:36:20 -07:00
|
|
|
EHS_LIB_IO Str_8 GetAppName_8();
|
2024-02-05 22:25:30 -08:00
|
|
|
|
2024-07-24 01:36:20 -07:00
|
|
|
EHS_LIB_IO const Char_32* GetAcronym_32();
|
2024-02-05 22:25:30 -08:00
|
|
|
|
2024-07-24 01:36:20 -07:00
|
|
|
EHS_LIB_IO const Char_16* GetAcronym_16();
|
2024-02-05 22:25:30 -08:00
|
|
|
|
2024-07-24 01:36:20 -07:00
|
|
|
EHS_LIB_IO const Char_8* GetAcronym_8();
|
2024-02-05 22:25:30 -08:00
|
|
|
|
|
|
|
/// Retrieves the version identifier in UTF32.
|
|
|
|
/// @returns The result.
|
2024-07-24 01:36:20 -07:00
|
|
|
EHS_LIB_IO const Char_32* GetVersionId_32();
|
2024-02-05 22:25:30 -08:00
|
|
|
|
|
|
|
/// Retrieves the version identifier in UTF16.
|
|
|
|
/// @returns The result.
|
2024-07-24 01:36:20 -07:00
|
|
|
EHS_LIB_IO const Char_16* GetVersionId_16();
|
2024-02-05 22:25:30 -08:00
|
|
|
|
|
|
|
/// Retrieves the version identifier in UTF8.
|
|
|
|
/// @returns The result.
|
2024-07-24 01:36:20 -07:00
|
|
|
EHS_LIB_IO const Char_8* GetVersionId_8();
|
2024-02-05 22:25:30 -08:00
|
|
|
|
2024-07-24 01:36:20 -07:00
|
|
|
EHS_LIB_IO Str_8 GetAppVersionId_8();
|
2024-02-05 22:25:30 -08:00
|
|
|
|
|
|
|
/// Retrieves the current Event Horizon Standard version.
|
|
|
|
/// @returns The result.
|
2024-07-24 01:36:20 -07:00
|
|
|
EHS_LIB_IO Version GetVersion();
|
2024-02-05 22:25:30 -08:00
|
|
|
|
2024-07-24 01:36:20 -07:00
|
|
|
EHS_LIB_IO Version GetAppVersion();
|
|
|
|
};
|