JustEnoughMod
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Functions
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
h
i
j
m
o
p
q
s
t
u
v
x
y
~
Functions
_
a
d
e
f
j
m
o
p
q
s
t
u
v
~
Variables
Enumerations
Enumerator
Related Symbols
Files
File List
File Members
All
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
AppModule.hpp
1
#ifndef CORE_APPMODULE_HPP
2
#define CORE_APPMODULE_HPP
3
4
#include <memory>
5
6
namespace
JEM {
7
class
Application;
8
9
class
AppModule
{
10
public
:
11
explicit
AppModule
(std::shared_ptr<Application> &app) : m_app(app){};
12
13
protected
:
14
[[nodiscard]]
auto
getApp()
const
-> std::shared_ptr<Application> {
15
return
m_app.lock();
16
}
17
18
private
:
19
std::weak_ptr<Application> m_app;
20
};
9
class
AppModule
{
…
};
21
}
// namespace JEM
22
23
#endif
JEM::AppModule
Definition
AppModule.hpp:9
include
core
AppModule.hpp
Generated by
1.10.0