00001
00025 #ifndef DMN_MSG_H
00026 #define DMN_MSG_H 1
00027
00028 #include <string>
00029 #include <cstdarg>
00030
00031 namespace dmn
00032 {
00036 class Msg
00037 {
00038 public:
00045 static void error(int exit_status, const std::string& str);
00046
00056 static void error(int exit_status, char *fmt, ...);
00057
00063 static void warning(const std::string& str);
00064
00073 static void warning(char *fmt, ...);
00074
00080 static void info(const std::string& str);
00081
00090 static void info(char *fmt, ...);
00091 };
00092 };
00093
00094 #endif // DMN_MSG_H