summaryrefslogtreecommitdiff
path: root/src/gpm-engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpm-engine.h')
-rw-r--r--src/gpm-engine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpm-engine.h b/src/gpm-engine.h
index 43f8956..8dbefbc 100644
--- a/src/gpm-engine.h
+++ b/src/gpm-engine.h
@@ -61,6 +61,7 @@ typedef struct
UpDevice *device);
void (* discharging) (GpmEngine *engine,
UpDevice *device);
+ void (* devices_changed) (GpmEngine *engine);
} GpmEngineClass;
GType gpm_engine_get_type (void);
@@ -68,6 +69,7 @@ GpmEngine *gpm_engine_new (void);
gchar *gpm_engine_get_icon (GpmEngine *engine);
gchar *gpm_engine_get_summary (GpmEngine *engine);
GPtrArray *gpm_engine_get_devices (GpmEngine *engine);
+UpDevice *gpm_engine_get_primary_device (GpmEngine *engine);
G_END_DECLS