kodi
MessagePrinter.h
1 /*
2  * Copyright (C) 2005-2018 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include <string>
12 #include <utility>
13 #include <vector>
14 
16 {
17 public:
18 
23  static void DisplayMessage(const std::string& message);
24 
29  static void DisplayWarning(const std::string& warning);
30 
35  static void DisplayError(const std::string& error);
36 
42  static void DisplayHelpMessage(const std::vector<std::pair<std::string, std::string>>& help);
43 };
static void DisplayHelpMessage(const std::vector< std::pair< std::string, std::string >> &help)
Display the help message with command line options available.
Definition: MessagePrinter.cpp:30
Definition: MessagePrinter.h:15
static void DisplayError(const std::string &error)
Display an error message to the user during startup.
Definition: MessagePrinter.cpp:25
static void DisplayWarning(const std::string &warning)
Display a warning message to the user during startup.
Definition: MessagePrinter.cpp:20
static void DisplayMessage(const std::string &message)
Display a normal message to the user during startup.
Definition: MessagePrinter.cpp:15