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

#include <MessagePrinter.h>

Static Public Member Functions

static void DisplayMessage (const std::string &message)
 Display a normal message to the user during startup.
 
static void DisplayWarning (const std::string &warning)
 Display a warning message to the user during startup.
 
static void DisplayError (const std::string &error)
 Display an error message to the user during startup.
 
static void DisplayHelpMessage (const std::vector< std::pair< std::string, std::string > > &help)
 Display the help message with command line options available.
 

Member Function Documentation

◆ DisplayError()

void CMessagePrinter::DisplayError ( const std::string & error)
static

Display an error message to the user during startup.

Parameters
[in]errorerror to display

◆ DisplayHelpMessage()

void CMessagePrinter::DisplayHelpMessage ( const std::vector< std::pair< std::string, std::string > > & help)
static

Display the help message with command line options available.

Parameters
[in]helpList of commands and explanations, help.push_back(std::make_pair("--help", "this displays the help))

◆ DisplayMessage()

void CMessagePrinter::DisplayMessage ( const std::string & message)
static

Display a normal message to the user during startup.

Parameters
[in]messagemessage to display

◆ DisplayWarning()

void CMessagePrinter::DisplayWarning ( const std::string & warning)
static

Display a warning message to the user during startup.

Parameters
[in]warningwarning to display

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