Use AM_CPPFLAGS instead of INCLUDES
[platform/upstream/libsecret.git] / libsecret / secret-enum-types.c.template
1 /*** BEGIN file-header ***/
2
3 #include <glib-object.h>
4
5 #ifndef SECRET_COMPILATION
6 #define SECRET_COMPILATION
7 #endif
8
9 /*** END file-header ***/
10
11 /*** BEGIN file-production ***/
12 #include "@filename@"
13 /* enumerations from "@filename@" */
14 /*** END file-production ***/
15
16 /*** BEGIN value-header ***/
17 GType @enum_name@_get_type (void) G_GNUC_CONST;
18
19 GType
20 @enum_name@_get_type (void)
21 {
22     static GType etype = 0;
23     if (G_UNLIKELY(etype == 0)) {
24         static const G@Type@Value values[] = {
25 /*** END value-header ***/
26
27 /*** BEGIN value-production ***/
28             { @VALUENAME@, "@VALUENAME@", "@valuenick@" },
29 /*** END value-production ***/
30
31 /*** BEGIN value-tail ***/
32             { 0, NULL, NULL }
33         };
34         etype = g_@type@_register_static (g_intern_static_string ("@EnumName@"), values);
35     }
36     return etype;
37 }
38
39 /*** END value-tail ***/
40
41 /*** BEGIN file-tail ***/
42  /**/
43 /*** END file-tail ***/