Mercurial > projects > package-update-indicator
comparison 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, 06 Jul 2018 14:12:46 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
9:b571e7ade208 | 10:adba37525ee5 |
---|---|
1 /*** BEGIN file-header ***/ | |
2 #ifndef PUI_TYPES_H | |
3 #define PUI_TYPES_H | |
4 | |
5 #include <glib-object.h> | |
6 | |
7 G_BEGIN_DECLS | |
8 /*** END file-header ***/ | |
9 | |
10 /*** BEGIN file-production ***/ | |
11 | |
12 /* enumerations from "@filename@" */ | |
13 /*** END file-production ***/ | |
14 | |
15 /*** BEGIN value-header ***/ | |
16 | |
17 #define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type()) | |
18 GType @enum_name@_get_type(void) G_GNUC_CONST; | |
19 /*** END value-header ***/ | |
20 | |
21 /*** BEGIN file-tail ***/ | |
22 | |
23 gchar * pui_types_enum_to_string(GType, gint); | |
24 | |
25 G_END_DECLS | |
26 | |
27 #endif /* !PUI_TYPES_H */ | |
28 /*** END file-tail ***/ |