LeviLamina
Loading...
Searching...
No Matches
App.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/IApp.h"
7#include "mc/deps/application/AppPlatformListener.h"
8
9class App : public ::IApp, public ::AppPlatformListener {
10public:
11 // member variables
12 // NOLINTBEGIN
15 // NOLINTEND
16
17#ifdef LL_PLAT_S
18public:
19 // prevent constructor by default
20 App& operator=(App const&);
21 App(App const&);
22 App();
23
24#else // LL_PLAT_C
25public:
26 // prevent constructor by default
27 App& operator=(App const&);
28 App(App const&);
29
30#endif
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual void init() /*override*/;
35
36 virtual bool isInited() /*override*/;
37
38 virtual void changeContext() /*override*/;
39
40#ifdef LL_PLAT_S
41 virtual void quit(::std::string const&, ::std::string const&) /*override*/;
42#else // LL_PLAT_C
43 virtual void quit(::std::string const& src, ::std::string const& reason) /*override*/;
44#endif
45
46 virtual bool wantToQuit() /*override*/;
47
48 virtual void initImpl() = 0;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54#ifdef LL_PLAT_C
55 MCNAPI App();
56
57 MCNAPI void initialize();
58#endif
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64#ifdef LL_PLAT_C
65 MCNAPI void* $ctor();
66#endif
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72#ifdef LL_PLAT_C
73 MCNAPI void $init();
74
75 MCNAPI bool $isInited();
76
77 MCNAPI void $changeContext();
78
79 MCNAPI void $quit(::std::string const& src, ::std::string const& reason);
80
81 MCNAPI bool $wantToQuit();
82#endif
83
84
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftableForIApp();
91
92 MCNAPI static void** $vftableForAppPlatformListener();
93 // NOLINTEND
94};
static MCAPI void ** $vftableForAppPlatformListener()
static MCAPI void ** $vftableForIApp()
Definition IApp.h:8
Definition Alias.h:14