message.hpp
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include <etk/types.hpp>
9 #include <ewol/debug.hpp>
10 #include <ewol/widget/Widget.hpp>
11 #include <etk/Color.hpp>
13 #include <list>
14 
15 namespace ewol {
16  namespace tools {
17  namespace message {
18  enum class type {
19  info,
20  warning,
21  error,
22  critical
23  };
29  void create(enum ewol::tools::message::type _type, const std::string& _message);
34  void displayInfo(const std::string& _message);
39  void displayWarning(const std::string& _message);
44  void displayError(const std::string& _message);
49  void displayCritical(const std::string& _message);
50  }
51  }
52 }
53 
void displayError(const std::string &_message)
Create a simple error message.
void displayWarning(const std::string &_message)
Create a simple warning message.
Definition: Area.hpp:16
void displayInfo(const std::string &_message)
Create a simple information message.
void displayCritical(const std::string &_message)
Create a simple critical message.
void create(enum ewol::tools::message::type _type, const std::string &_message)
Create a simple pop-up message on the screen for application error.