diff options
Diffstat (limited to 'gf-error-codes.h.template')
| -rw-r--r-- | gf-error-codes.h.template | 33 | 
1 files changed, 33 insertions, 0 deletions
diff --git a/gf-error-codes.h.template b/gf-error-codes.h.template new file mode 100644 index 00000000000..ab6020d640d --- /dev/null +++ b/gf-error-codes.h.template @@ -0,0 +1,33 @@ +/***************************************************************/ +/**                                                           **/ +/**                   DO NOT EDIT THIS FILE                   **/ +/**           THIS IS AUTO-GENERATED FROM LOG BOOK            **/ +/**         YOUR CHANGES WILL BE LOST IN NEXT BUILD           **/ +/**                                                           **/ +/***************************************************************/ + +#ifndef _GF_ERROR_CODES_H +#define _GF_ERROR_CODES_H + +#include <libintl.h> + +#define _(STRING)    gettext(STRING) + + +/** START: ERROR CODE DEFINITIONS **/ +$DEFINES +/** END: ERROR CODE DEFINITIONS **/ + + +/** START: FUNCTION RETURNS MESSAGE OF GIVEN ERROR CODE **/ +const char * +_gf_get_message (int code) { +        switch (code) { +$CASES +        default: return NULL; +        } +} +/** END: FUNCTION RETURNS MESSAGE OF GIVEN ERROR CODE **/ + + +#endif  | 
