EHS/include/EHS.h

63 lines
1.4 KiB
C
Raw Normal View History

2023-12-17 03:29:08 -08:00
#pragma once
#if defined(NDEBUG)
2023-12-17 15:56:13 -08:00
#define EHS_RELEASE
2023-12-17 03:29:08 -08:00
#else
2023-12-17 15:56:13 -08:00
#define EHS_DEBUG
2023-12-17 03:29:08 -08:00
#endif
#include "Types.h"
2023-12-17 15:56:13 -08:00
#include "system/OS.h"
2023-12-17 03:29:08 -08:00
#include "Version.h"
#include "Str.h"
2023-12-17 15:56:13 -08:00
namespace ehs
2023-12-17 03:29:08 -08:00
{
enum class MemoryPattern
{
SPEED,
SIZE
};
/// Retrieves the UTF32 C-style string as "Event Horizon Standard"
/// @returns The result.
const Char_32* GetName_32();
/// Retrieves the UTF16 C-style string as "Event Horizon Standard"
/// @returns The result.
const Char_16* GetName_16();
/// Retrieves the UTF8 C-style string as "Event Horizon Standard"
/// @returns The result.
const Char_8* GetName_8();
Str_8 GetAppName_8();
const Char_32* GetAcronym_32();
const Char_16* GetAcronym_16();
const Char_8* GetAcronym_8();
/// Retrieves the version identifier in UTF32.
/// @returns The result.
const Char_32* GetVersionId_32();
/// Retrieves the version identifier in UTF16.
/// @returns The result.
const Char_16* GetVersionId_16();
/// Retrieves the version identifier in UTF8.
/// @returns The result.
const Char_8* GetVersionId_8();
Str_8 GetAppVersionId_8();
/// Retrieves the current Event Horizon Standard version.
/// @returns The result.
Version GetVersion();
Version GetAppVersion();
};
2023-12-18 02:13:20 -08:00
extern ehs::SInt_32 Main(ehs::Str_8* appName, ehs::Str_8* appVerId, ehs::Version* appVer);