Rudiments
|
00001 // Copyright (c) 2005 David Muse 00002 // See the COPYING file for more information. 00003 00004 #ifndef ERROR_H 00005 #define ERROR_H 00006 00007 #include <rudiments/private/errorincludes.h> 00008 00009 #ifdef RUDIMENTS_NAMESPACE 00010 namespace rudiments { 00011 #endif 00012 00015 class RUDIMENTS_DLLSPEC error { 00016 public: 00018 static void clearError(); 00019 00023 static void setErrorNumber(int32_t err); 00024 00027 static int32_t getErrorNumber(); 00028 00032 static const char *getErrorString(); 00033 }; 00034 00035 #ifdef RUDIMENTS_NAMESPACE 00036 } 00037 #endif 00038 00039 #endif