diff options
author | Ali Abdallah <ali.slackware@gmail.com> | 2009-04-07 11:23:27 +0000 |
---|---|---|
committer | Ali Abdallah <ali.slackware@gmail.com> | 2009-04-07 11:23:27 +0000 |
commit | 2feff966fb90ce98c05c4b8c5827c5a3f50454f0 (patch) | |
tree | 7e571ee3e24032aead76fe225b616a5edb9c52ff /src/xfpm-engine.h | |
parent | 6d6690be78a02d4130368f1fb7a86e1fe4d4d486 (diff) | |
download | ixfce4-power-manager-2feff966fb90ce98c05c4b8c5827c5a3f50454f0.tar.gz |
Implement a clean way to restart HAL related objects when HALD restarts
(Old svn revision: 7130)
Diffstat (limited to 'src/xfpm-engine.h')
-rw-r--r-- | src/xfpm-engine.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/src/xfpm-engine.h b/src/xfpm-engine.h index 69cb84fe..6c206920 100644 --- a/src/xfpm-engine.h +++ b/src/xfpm-engine.h @@ -42,21 +42,23 @@ typedef struct { GObjectClass parent_class; - void (*on_battery_changed) (XfpmEngine *engine, - gboolean on_battery); + void (*on_battery_changed) (XfpmEngine *engine, + gboolean on_battery); } XfpmEngineClass; -GType xfpm_engine_get_type (void) G_GNUC_CONST; -XfpmEngine *xfpm_engine_new (void); +GType xfpm_engine_get_type (void) G_GNUC_CONST; +XfpmEngine *xfpm_engine_new (void); -void xfpm_engine_get_info (XfpmEngine *engine, - gboolean *system_laptop, - gboolean *user_privilege, - gboolean *can_suspend, - gboolean *can_hibernate, - gboolean *has_lcd_brightness, - gboolean *has_lid); +void xfpm_engine_get_info (XfpmEngine *engine, + gboolean *system_laptop, + gboolean *user_privilege, + gboolean *can_suspend, + gboolean *can_hibernate, + gboolean *has_lcd_brightness, + gboolean *has_lid); + +void xfpm_engine_reload_hal_objects (XfpmEngine *engine); G_END_DECLS #endif /* __XFPM_ENGINE_H */ |