projects/package-update-indicator

view pui-types.h.in @ 10:adba37525ee5

Notify about required session or system restarts

Follow all PackageKit transactions and indicate when a session or system
restart is required.
Generate enum types with glib-mkenums.
author Guido Berhoerster <guido+pui@berhoerster.name>
date Fri Jul 06 14:12:46 2018 +0200 (2018-07-06)
parents
children
line source
1 /*** BEGIN file-header ***/
2 #ifndef PUI_TYPES_H
3 #define PUI_TYPES_H
5 #include <glib-object.h>
7 G_BEGIN_DECLS
8 /*** END file-header ***/
10 /*** BEGIN file-production ***/
12 /* enumerations from "@filename@" */
13 /*** END file-production ***/
15 /*** BEGIN value-header ***/
17 #define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type())
18 GType @enum_name@_get_type(void) G_GNUC_CONST;
19 /*** END value-header ***/
21 /*** BEGIN file-tail ***/
23 gchar * pui_types_enum_to_string(GType, gint);
25 G_END_DECLS
27 #endif /* !PUI_TYPES_H */
28 /*** END file-tail ***/