Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::RETRO::CSavestateDatabase Class Reference

#include <SavestateDatabase.h>

Public Member Functions

 CSavestateDatabase ()
 
virtual ~CSavestateDatabase ()=default
 
bool AddSavestate (const std::string &savestatePath, const std::string &gamePath, const ISavestate &save)
 
bool GetSavestate (const std::string &savestatePath, ISavestate &save)
 
bool GetSavestatesNav (CFileItemList &items, const std::string &gamePath, const std::string &gameClient="")
 
std::unique_ptr< ISavestateRenameSavestate (const std::string &savestatePath, const std::string &label)
 
bool DeleteSavestate (const std::string &savestatePath)
 
bool ClearSavestatesOfGame (const std::string &gamePath, const std::string &gameClient="")
 

Static Public Member Functions

static std::unique_ptr< ISavestateAllocateSavestate ()
 
static void GetSavestateItem (const ISavestate &savestate, const std::string &savestatePath, CFileItem &item)
 
static std::string MakeSavestatePath (const std::string &gamePath, const CDateTime &creationTime)
 
static std::string MakeThumbnailPath (const std::string &savestatePath)
 

Constructor & Destructor Documentation

◆ CSavestateDatabase()

CSavestateDatabase::CSavestateDatabase ( )
default

◆ ~CSavestateDatabase()

virtual KODI::RETRO::CSavestateDatabase::~CSavestateDatabase ( )
virtualdefault

Member Function Documentation

◆ AddSavestate()

bool CSavestateDatabase::AddSavestate ( const std::string & savestatePath,
const std::string & gamePath,
const ISavestate & save )

◆ AllocateSavestate()

std::unique_ptr< ISavestate > CSavestateDatabase::AllocateSavestate ( )
static

◆ ClearSavestatesOfGame()

bool CSavestateDatabase::ClearSavestatesOfGame ( const std::string & gamePath,
const std::string & gameClient = "" )

◆ DeleteSavestate()

bool CSavestateDatabase::DeleteSavestate ( const std::string & savestatePath)

◆ GetSavestate()

bool CSavestateDatabase::GetSavestate ( const std::string & savestatePath,
ISavestate & save )

◆ GetSavestateItem()

void CSavestateDatabase::GetSavestateItem ( const ISavestate & savestate,
const std::string & savestatePath,
CFileItem & item )
static

◆ GetSavestatesNav()

bool CSavestateDatabase::GetSavestatesNav ( CFileItemList & items,
const std::string & gamePath,
const std::string & gameClient = "" )

◆ MakeSavestatePath()

std::string CSavestateDatabase::MakeSavestatePath ( const std::string & gamePath,
const CDateTime & creationTime )
static

◆ MakeThumbnailPath()

std::string CSavestateDatabase::MakeThumbnailPath ( const std::string & savestatePath)
static

◆ RenameSavestate()

std::unique_ptr< ISavestate > CSavestateDatabase::RenameSavestate ( const std::string & savestatePath,
const std::string & label )

The documentation for this class was generated from the following files: