Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CAppParams Class Reference

#include <AppParams.h>

Public Member Functions

 CAppParams ()
 
virtual ~CAppParams ()
 
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.
 
void SetRawArgs (std::vector< std::string > args)
 Set the raw command-line arguments.
 

Constructor & Destructor Documentation

◆ CAppParams()

CAppParams::CAppParams ( )

◆ ~CAppParams()

CAppParams::~CAppParams ( )
virtualdefault

Member Function Documentation

◆ GetAudioBackend()

std::string_view CAppParams::GetAudioBackend ( ) const
inline

◆ GetGlInterface()

std::string_view CAppParams::GetGlInterface ( ) const
inline

◆ GetLogLevel()

int CAppParams::GetLogLevel ( ) const
inline

◆ GetLogTarget()

const std::string & CAppParams::GetLogTarget ( ) const
inline

◆ GetPlaylist()

CFileItemList & CAppParams::GetPlaylist ( ) const
inline

◆ 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.

◆ GetSettingsFile()

const std::string & CAppParams::GetSettingsFile ( ) const
inline

◆ GetWindowing()

const std::string & CAppParams::GetWindowing ( ) const
inline

◆ HasPlatformDirectories()

bool CAppParams::HasPlatformDirectories ( ) const
inline

◆ IsStandAlone()

bool CAppParams::IsStandAlone ( ) const
inline

◆ IsStartFullScreen()

bool CAppParams::IsStartFullScreen ( ) const
inline

◆ IsTestMode()

bool CAppParams::IsTestMode ( ) const
inline

◆ SetAudioBackend()

void CAppParams::SetAudioBackend ( std::string_view audioBackend)
inline

◆ SetGlInterface()

void CAppParams::SetGlInterface ( const std::string & glInterface)
inline

◆ SetLogLevel()

void CAppParams::SetLogLevel ( int logLevel)
inline

◆ SetLogTarget()

void CAppParams::SetLogTarget ( const std::string & logTarget)
inline

◆ SetPlatformDirectories()

void CAppParams::SetPlatformDirectories ( bool platformDirectories)
inline

◆ SetRawArgs()

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

Set the raw command-line arguments.

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

◆ SetSettingsFile()

void CAppParams::SetSettingsFile ( const std::string & settingsFile)
inline

◆ SetStandAlone()

void CAppParams::SetStandAlone ( bool standAlone)
inline

◆ SetStartFullScreen()

void CAppParams::SetStartFullScreen ( bool startFullScreen)
inline

◆ SetTestMode()

void CAppParams::SetTestMode ( bool testMode)
inline

◆ SetWindowing()

void CAppParams::SetWindowing ( const std::string & windowing)
inline

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