mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 03:21:29 +00:00
16 lines
271 B
C++
16 lines
271 B
C++
|
// 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;
|
||
|
}
|
||
|
|