3#include <litefx/config.h>
5#if !defined (LITEFX_APPMODEL_API)
6# if defined(LiteFX_AppModel_EXPORTS) && (defined _WIN32 || defined WINCE)
7# define LITEFX_APPMODEL_API __declspec(dllexport)
8# elif (defined(LiteFX_AppModel_EXPORTS) || defined(__APPLE__)) && defined __GNUC__ && __GNUC__ >= 4
9# define LITEFX_APPMODEL_API __attribute__ ((visibility ("default")))
10# elif !defined(LiteFX_AppModel_EXPORTS) && (defined _WIN32 || defined WINCE)
11# define LITEFX_APPMODEL_API __declspec(dllimport)
15#ifndef LITEFX_APPMODEL_API
16# define LITEFX_APPMODEL_API
19#include <litefx/core.h>
20#include <litefx/logging.hpp>
74 int major() const noexcept;
80 int minor() const noexcept;
86 int patch() const noexcept;
Definition appversion.cpp:9
Creates a new builder for an App.
Definition app.hpp:690
The base class for an application.
Definition app.hpp:402
Contains the version of an App.
Definition app_api.hpp:50
int engineRevision() const noexcept
Gets the revision of the engine build.
Definition appversion.cpp:70
StringView engineVersion() const noexcept
Gets the version string of the engine build.
Definition appversion.cpp:85
int engineMinor() const noexcept
Gets the minor version of the engine build.
Definition appversion.cpp:65
int major() const noexcept
Gets the major version of the app.
Definition appversion.cpp:40
int patch() const noexcept
Gets the patch number of the app.
Definition appversion.cpp:50
int revision() const noexcept
Gets the revision of the app.
Definition appversion.cpp:55
virtual ~AppVersion() noexcept
int engineMajor() const noexcept
Gets the major version of the engine build.
Definition appversion.cpp:60
int minor() const noexcept
Gets the minor version of the app.
Definition appversion.cpp:45
int engineStatus() const noexcept
Gets the status of the engine build.
Definition appversion.cpp:75
StringView engineIdentifier() const noexcept
Gets the identifier of the engine build.
Definition appversion.cpp:80
AppVersion(int major=1, int minor=0, int patch=0, int revision=0) noexcept
Creates a new app version instance.
Definition appversion.cpp:33
The base class for an app backend.
Definition app.hpp:18
BackendState
Definition app_api.hpp:42
@ Inactive
Definition app_api.hpp:43
@ Active
Definition app_api.hpp:44
constexpr std::array VALID_BACKEND_TYPES
Definition app_api.hpp:40
std::string_view StringView
Definition string.hpp:26
BackendType
Definition app_api.hpp:35
@ Rendering
Definition app_api.hpp:36
Platform
Definition app_api.hpp:29
@ Other
Definition app_api.hpp:32
@ None
Definition app_api.hpp:30
@ Win32
Definition app_api.hpp:31