1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#define er "SLUDGE error"
void messageBox (const char *, const char *);
void messageBox (const char * tx2, int f, int f2);
enum
{
ERRORTYPE_PROJECTWARNING,
ERRORTYPE_PROJECTERROR,
ERRORTYPE_SYSTEMERROR, // Files etc.
ERRORTYPE_INTERNALERROR, // SHOULD NEVER HAPPEN!
ERRORTYPE_NUM
};
void addComment (int errorType, const char *, const char * filename);
bool addComment (int errorType, const char * txt1, const char * txt2, const char * filename, unsigned int line=0);
void addCommentWithLine (int errorType, const char *, const char * filename, unsigned int line);
void clearComments ();
bool ask (const char * txt);
|