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

#include <Builtins.h>

Classes

struct  BUILT_IN
 Struct representing a command from handler classes. More...
 

Public Types

typedef std::map< std::string, CBuiltins::BUILT_INCommandMap
 A map of commands.
 

Public Member Functions

bool HasCommand (const std::string &execString)
 
bool IsSystemPowerdownCommand (const std::string &execString)
 
void GetHelp (std::string &help)
 
int Execute (const std::string &execString)
 

Static Public Member Functions

static CBuiltinsGetInstance ()
 

Protected Member Functions

 CBuiltins ()
 
 CBuiltins (const CBuiltins &)=delete
 
const CBuiltinsoperator= (const CBuiltins &)=delete
 
virtual ~CBuiltins ()
 

Member Typedef Documentation

◆ CommandMap

A map of commands.

Constructor & Destructor Documentation

◆ CBuiltins() [1/2]

CBuiltins::CBuiltins ( )
protected

◆ CBuiltins() [2/2]

CBuiltins::CBuiltins ( const CBuiltins & )
protecteddelete

◆ ~CBuiltins()

CBuiltins::~CBuiltins ( )
protectedvirtualdefault

Member Function Documentation

◆ Execute()

int CBuiltins::Execute ( const std::string & execString)

◆ GetHelp()

void CBuiltins::GetHelp ( std::string & help)

◆ GetInstance()

CBuiltins & CBuiltins::GetInstance ( )
static

◆ HasCommand()

bool CBuiltins::HasCommand ( const std::string & execString)

◆ IsSystemPowerdownCommand()

bool CBuiltins::IsSystemPowerdownCommand ( const std::string & execString)

◆ operator=()

const CBuiltins & CBuiltins::operator= ( const CBuiltins & )
protecteddelete

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