xbmc
Public Member Functions | List of all members
CAppParams Class Reference

Public Member Functions

int GetLogLevel () const
 
void SetLogLevel (int logLevel)
 
bool IsStartFullScreen () const
 
void SetStartFullScreen (bool startFullScreen)
 
bool IsStandAlone () const
 
void SetStandAlone (bool standAlone)
 
bool HasPlatformDirectories () const
 
void SetPlatformDirectories (bool platformDirectories)
 
bool IsTestMode () const
 
void SetTestMode (bool testMode)
 
const std::string & GetSettingsFile () const
 
void SetSettingsFile (const std::string &settingsFile)
 
const std::string & GetWindowing () const
 
void SetWindowing (const std::string &windowing)
 
const std::string & GetLogTarget () const
 
void SetLogTarget (const std::string &logTarget)
 
std::string_view GetAudioBackend () const
 
void SetAudioBackend (std::string_view audioBackend)
 
std::string_view GetGlInterface () const
 
void SetGlInterface (const std::string &glInterface)
 
CFileItemListGetPlaylist () const
 
const std::vector< std::string > & GetRawArgs () const
 Get the raw command-line arguments. More...
 
void SetRawArgs (std::vector< std::string > args)
 Set the raw command-line arguments. More...
 

Member Function Documentation

◆ GetRawArgs()

const std::vector<std::string>& CAppParams::GetRawArgs ( ) const
inline

Get the raw command-line arguments.

Note: Raw arguments are currently not used by Kodi, but they will be useful if/when ROS 2 support is ever merged.

Returns
The arguments. Note that the leading argument is the executable path name.

◆ SetRawArgs()

void CAppParams::SetRawArgs ( std::vector< std::string >  args)

Set the raw command-line arguments.

The arguments. Note that the leading argument is the executable path name.


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