Mercurial > projects > package-update-indicator
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pui-types.h.in Fri Jul 06 14:12:46 2018 +0200 @@ -0,0 +1,28 @@ +/*** BEGIN file-header ***/ +#ifndef PUI_TYPES_H +#define PUI_TYPES_H + +#include <glib-object.h> + +G_BEGIN_DECLS +/*** END file-header ***/ + +/*** BEGIN file-production ***/ + +/* enumerations from "@filename@" */ +/*** END file-production ***/ + +/*** BEGIN value-header ***/ + +#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type()) +GType @enum_name@_get_type(void) G_GNUC_CONST; +/*** END value-header ***/ + +/*** BEGIN file-tail ***/ + +gchar * pui_types_enum_to_string(GType, gint); + +G_END_DECLS + +#endif /* !PUI_TYPES_H */ +/*** END file-tail ***/