28 #ifndef __GABC_Error__
29 #define __GABC_Error__
46 , myInterrupt(interrupt)
55 bool success()
const {
return mySuccess; }
58 bool errorString(
const char *msg);
59 void warningString(
const char *msg);
60 void infoString(
const char *msg);
65 void warning(const
char *format, ...)
67 void info(const
char *format, ...)
68 SYS_PRINTF_CHECK_ATTRIBUTE(2, 3);
72 virtual
void handleError(const
char *msg);
73 virtual
void handleWarning(const
char *msg);
74 virtual
void handleInfo(const
char *msg);
75 virtual
void handleClear();
#define SYS_PRINTF_CHECK_ATTRIBUTE(string_index, first_to_check)
GLint GLint GLsizei GLint GLenum format
UT_Interrupt * getInterrupt() const
GABC_Error(UT_Interrupt *interrupt)
bool wasInterrupted(T *i, int percent=-1)