1#ifndef COASTLINE_GAMEMODE_H
2#define COASTLINE_GAMEMODE_H
4#include <SDL3/SDL_loadso.h>
28 SDL_SharedObject *m_library =
nullptr;
29 int (*m_end)() =
nullptr;
30 const char *(*m_error)() =
nullptr;
31 bool m_active =
false;
~GameModeSession()
Attempt to end a successful registration, then unload the client before SDL shuts down.
GameModeSession(bool enabled)
Load the Linux client and request GameMode immediately when enabled.
GameModeSession & operator=(const GameModeSession &)=delete
Prevent replacement of an active GameMode registration.
GameModeSession(const GameModeSession &)=delete
Prevent duplicate ownership of a GameMode registration.
Definition assetimport.h:11