diff options
Diffstat (limited to 'core/applicationstate.cpp')
-rw-r--r-- | core/applicationstate.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/applicationstate.cpp b/core/applicationstate.cpp new file mode 100644 index 000000000..a5adde8cf --- /dev/null +++ b/core/applicationstate.cpp @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0 +#include "applicationstate.h" + +static ApplicationState appState = (ApplicationState)-1; // Set to an invalid value + +ApplicationState getAppState() +{ + return appState; +} + +void setAppState(ApplicationState state) +{ + appState = state; +} + |