mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-29 21:50:26 +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;
|
||
|
}
|
||
|
|