LiteFX 0.3.1.2022
Computer Graphics Engine
app_api.hpp
1#pragma once
2
3#if !defined (LITEFX_APPMODEL_API)
4# if defined(LiteFX_AppModel_EXPORTS) && (defined _WIN32 || defined WINCE)
5# define LITEFX_APPMODEL_API __declspec(dllexport)
6# elif (defined(LiteFX_AppModel_EXPORTS) || defined(__APPLE__)) && defined __GNUC__ && __GNUC__ >= 4
7# define LITEFX_APPMODEL_API __attribute__ ((visibility ("default")))
8# elif !defined(LiteFX_AppModel_EXPORTS) && (defined _WIN32 || defined WINCE)
9# define LITEFX_APPMODEL_API __declspec(dllimport)
10# endif
11#endif
12
13#ifndef LITEFX_APPMODEL_API
14# define LITEFX_APPMODEL_API
15#endif
16
17#include <litefx/core.h>
18#include <litefx/logging.hpp>
19
20namespace LiteFX {
21
22 class IBackend;
23 class AppVersion;
24 class App;
25 class AppBuilder;
26
27 enum class LITEFX_APPMODEL_API Platform {
28 None = 0x00000000,
29 Win32 = 0x00000001,
30 Other = 0x7FFFFFFF
31 };
32
33 enum class LITEFX_APPMODEL_API BackendType {
34 Rendering = 0x01,
35 Other = 0xFF
36 };
37
38 enum class LITEFX_APPMODEL_API BackendState {
39 Inactive = 0x01,
40 Active = 0x02
41 };
42}
Definition: app.hpp:6