summaryrefslogtreecommitdiffstats
path: root/gf-error-codes.h.template
blob: ab6020d640d63353d20d465d2b8aee64a085c6e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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