WHY_CPP
0.1
Overview
Getting started
Modules
Class List
File List
whycpp
src
impl
lifecycle.cpp
1
#include <whycpp/lifecycle.h>
2
#include "../context.h"
3
#include "../holders/lifecycle_holder.h"
4
5
void
PauseApp
(
Context
&context) {
6
context.Get<
LifecycleHolder
>()->SetPaused(
false
);
7
}
8
9
void
ResumeApp
(
Context
&context) {
10
context.Get<
LifecycleHolder
>()->SetPaused(
true
);
11
}
12
13
void
ExitApp
(
Context
&context) {
14
context.Get<
LifecycleHolder
>()->SetQuit(
true
);
15
}
ExitApp
void ExitApp(Context &context)
Definition:
lifecycle.cpp:13
Context
Definition:
context.h:26
ResumeApp
void ResumeApp(Context &context)
Definition:
lifecycle.cpp:9
PauseApp
void PauseApp(Context &context)
Definition:
lifecycle.cpp:5
LifecycleHolder
Definition:
lifecycle_holder.h:4
Generated by
1.8.11