Skip to content
LeviMC
English
AutoLightDark
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
17public:
18 // prevent constructor by default
19 App& operator=(App const&);
20 App(App const&);
21 App();
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual void init() /*override*/;
27
28 virtual bool isInited() /*override*/;
29
30 virtual void changeContext() /*override*/;
31
32 virtual void quit(::std::string const& src, ::std::string const& reason) /*override*/;
33
34 virtual bool wantToQuit() /*override*/;
35
36 virtual void initImpl() = 0;
37 // NOLINTEND
38
39public:
40 // virtual function thunks
41 // NOLINTBEGIN
42#ifdef LL_PLAT_C
43 MCNAPI void $init();
44
45 MCNAPI bool $isInited();
46
47 MCNAPI void $changeContext();
48
49 MCNAPI void $quit(::std::string const& src, ::std::string const& reason);
50
51 MCNAPI bool $wantToQuit();
52#endif
53
54
55 // NOLINTEND
56};
Definition AppPlatformListener.h:16
Definition IApp.h:8
Definition Alias.h:14