comparison pui-backend.h @ 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 2477a6151087
children
comparison
equal deleted inserted replaced
9:b571e7ade208 10:adba37525ee5
37 37
38 enum { 38 enum {
39 PUI_BACKEND_ERROR_GET_UPDATES_NOT_IMPLEMENTED 39 PUI_BACKEND_ERROR_GET_UPDATES_NOT_IMPLEMENTED
40 }; 40 };
41 41
42 typedef enum {
43 PUI_RESTART_NONE,
44 PUI_RESTART_SESSION,
45 PUI_RESTART_SYSTEM,
46 PUI_RESTART_LAST
47 } PuiRestart;
48
42 GQuark pui_backend_error_quark(void); 49 GQuark pui_backend_error_quark(void);
43 void pui_backend_new_async(GCancellable *, GAsyncReadyCallback, 50 void pui_backend_new_async(GCancellable *, GAsyncReadyCallback,
44 gpointer); 51 gpointer);
45 PuiBackend * pui_backend_new_finish(GAsyncResult *, GError **); 52 PuiBackend * pui_backend_new_finish(GAsyncResult *, GError **);
46 void pui_backend_set_proxy(PuiBackend *, const gchar *, 53 void pui_backend_set_proxy(PuiBackend *, const gchar *,