Defines | |
#define | NO_ERROR 0 |
Success code. | |
#define | COULD_NOT_OPEN_FILE -1001 |
The requested file could not be opened. | |
#define | NO_VALID_ENTRIES -1002 |
The given file contains no entries. | |
#define | GLADE_LOAD_ERROR -1003 |
An error occured while loading data from glade file. | |
Functions | |
bool | no_error (int code) |
Checks if the given code means NO_ERROR. | |
bool | success (int code) |
Checks if the given code returned a success code. | |
bool | failed (int code) |
Checks if the code is a warning or error code. | |
bool | is_warning (int code) |
Checks if the given code is a warning code. | |
bool | is_error (int code) |
Checks if the given code means error. |
#define COULD_NOT_OPEN_FILE -1001 |
The requested file could not be opened.
#define GLADE_LOAD_ERROR -1003 |
An error occured while loading data from glade file.
#define NO_ERROR 0 |
Success code.
#define NO_VALID_ENTRIES -1002 |
The given file contains no entries.
bool failed | ( | int | code | ) | [inline] |
Checks if the code is a warning or error code.
[in] | code | Status, warning or error code |
true | Code means error or warning | |
false | Code does not mean error or warning |
bool is_error | ( | int | code | ) | [inline] |
Checks if the given code means error.
[in] | code | Status, warning or error code |
true | Code is error code | |
false | Code means not an error |
bool is_warning | ( | int | code | ) | [inline] |
Checks if the given code is a warning code.
[in] | code | Status, warning or error code |
true | Code is a warning code | |
false | Code is not warning |
bool no_error | ( | int | code | ) | [inline] |
Checks if the given code means NO_ERROR.
[in] | code | Status, warning or error code |
true | Code means NO_ERROR | |
false | Code means not NO_ERROR |
bool success | ( | int | code | ) | [inline] |
Checks if the given code returned a success code.
[in] | code | Status, warning or error code |
true | Code is success code | |
false | Code is not success code |