Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

glt/error.cpp

Go to the documentation of this file.
00001 #include "error.h"
00002 
00003 #include <string>
00004 using namespace std;
00005 
00006 #ifdef GLT_WIN32
00007 #include <windows.h>
00008 #endif
00009 
00022 void 
00023 gltError(const std::string &message)
00024 {
00025     #ifdef GLT_WIN32
00026     MessageBox(NULL,message.c_str(),"Runtime Error",MB_OK | MB_ICONERROR);
00027     #endif
00028 }
00029 
00030 void 
00031 gltWarning(const std::string &message)
00032 {
00033     #ifdef GLT_WIN32
00034     MessageBox(NULL,message.c_str(),"Runtime Warning",MB_OK | MB_ICONWARNING);
00035     #endif
00036 }

Generated on Tue Nov 5 11:11:03 2002 for GLT by doxygen1.2.18