[PVR][Estuary] Timer settings dialog: Show client name in timer type selection dialog...
[xbmc.git] / xbmc / platform / MessagePrinter.h
blobf0aa08e2aa28d0acecc5fd89b2c4c22f9afc2534
1 /*
2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 #include <string>
12 #include <utility>
13 #include <vector>
15 class CMessagePrinter
17 public:
19 /*! \brief Display a normal message to the user during startup
21 * \param[in] message message to display
23 static void DisplayMessage(const std::string& message);
25 /*! \brief Display a warning message to the user during startup
27 * \param[in] warning warning to display
29 static void DisplayWarning(const std::string& warning);
31 /*! \brief Display an error message to the user during startup
33 * \param[in] error error to display
35 static void DisplayError(const std::string& error);
37 /*! \brief Display the help message with command line options available
39 * \param[in] help List of commands and explanations,
40 help.push_back(std::make_pair("--help", "this displays the help))
42 static void DisplayHelpMessage(const std::vector<std::pair<std::string, std::string>>& help);