Rudiments
/home/dmuse/src/rudiments/include/rudiments/error.h
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 
00033                 static  char    *getErrorString();
00034 };
00035 
00036 #ifdef RUDIMENTS_NAMESPACE
00037 }
00038 #endif
00039 
00040 #endif