#include <GUIGameSettingsHandle.h>
◆ CGUIGameSettingsHandle()
◆ ~CGUIGameSettingsHandle()
CGUIGameSettingsHandle::~CGUIGameSettingsHandle |
( |
| ) |
|
|
virtual |
◆ CloseOSD()
void CGUIGameSettingsHandle::CloseOSD |
( |
| ) |
|
◆ CreateSavestate()
std::string CGUIGameSettingsHandle::CreateSavestate |
( |
bool | autosave | ) |
|
Create a savestate of the current game being played.
- Parameters
-
autosave | True if the save was invoked automatically, or false if the save was invoked by a player |
- Returns
- The path to the created savestate file, or empty string on failure or if a game is not playing
◆ FreeSavestateResources()
void CGUIGameSettingsHandle::FreeSavestateResources |
( |
const std::string & | savestatePath | ) |
|
Clear the video frame stored for the given statestate.
Useful to reclaim memory if a savestate has been deleted.
- Parameters
-
savestatePath | The path to the savestate file |
◆ GameClientID()
std::string CGUIGameSettingsHandle::GameClientID |
( |
| ) |
|
Get the ID of the active game client.
- Returns
- The ID of the active game client, or empty string if a game is not playing
◆ GetPlayingGame()
std::string CGUIGameSettingsHandle::GetPlayingGame |
( |
| ) |
|
Get the full path of the game being played.
- Returns
- The game's path, or empty string if a game is not playing
◆ LoadSavestate()
bool CGUIGameSettingsHandle::LoadSavestate |
( |
const std::string & | savestatePath | ) |
|
Load a savestate for the current game being played.
- Parameters
-
- Returns
- True if the savestate was loaded successfully, false otherwise
◆ UpdateSavestate()
bool CGUIGameSettingsHandle::UpdateSavestate |
( |
const std::string & | savestatePath | ) |
|
Update a savestate for the current game being played.
- Parameters
-
- Returns
- True if the savestate was updated successfully, false otherwise
The documentation for this class was generated from the following files: