32#ifndef DVD_CORE_APPLICATION_INL_
33#define DVD_CORE_APPLICATION_INL_
39 return lhs._resolution == rhs._resolution &&
40 lhs._bitsPerPixel == rhs._bitsPerPixel &&
41 lhs._maxRefreshRate == rhs._maxRefreshRate &&
42 lhs._formatName == rhs._formatName;
47 _requestShutdown =
true;
48 _clearCacheOnExit = clearCache;
63 _requestRestart =
true;
64 _clearCacheOnExit = clearCache;
99 _mainLoopPaused = state;
104 _mainLoopActive = state;
109 _freezeRendering = state;
bool mainLoopActive() const
bool mainLoopPaused() const
bool RestartRequested() const noexcept
void CancelShutdown() noexcept
WindowManager & windowManager() noexcept
bool freezeRendering() const
void RequestRestart(bool clearCache) noexcept
bool ShutdownRequested() const noexcept
WindowManager _windowManager
void RequestShutdown(bool clearCache) noexcept
std::atomic_bool _requestShutdown
std::atomic_bool _requestRestart
void CancelRestart() noexcept
ErrorCode errorCode() const noexcept
Time::ApplicationTimer & timer() noexcept
Handle console commands that start with a forward slash.
bool operator==(const DisplayManager::OutputDisplayProperties &lhs, const DisplayManager::OutputDisplayProperties &rhs) noexcept