diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-01-16 13:07:13 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-01-16 14:38:42 +0100 |
commit | 205f4b5e54d6bc0e769c3b1416a9add31aa0b114 (patch) | |
tree | 32933e794bdb66212e565a297cdb5333b44625ec /plugins/power/gpm-common.h | |
parent | 60b457dae9fe3e59c48647683bd0d37d3d9b201f (diff) | |
download | gnome-settings-daemon-205f4b5e54d6bc0e769c3b1416a9add31aa0b114.tar.gz |
power: Move is_hardware_a_virtual_machine() to gpm-common
Diffstat (limited to 'plugins/power/gpm-common.h')
-rw-r--r-- | plugins/power/gpm-common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/power/gpm-common.h b/plugins/power/gpm-common.h index d8a47582..11173083 100644 --- a/plugins/power/gpm-common.h +++ b/plugins/power/gpm-common.h @@ -27,6 +27,7 @@ G_BEGIN_DECLS +/* UPower helpers */ gchar *gpm_get_timestring (guint time); const gchar *gpm_device_to_localised_string (UpDevice *device); const gchar *gpm_device_kind_to_localised_string (UpDeviceKind kind, @@ -39,6 +40,9 @@ GIcon *gpm_upower_get_device_icon (UpDevice *device, gchar *gpm_upower_get_device_summary (UpDevice *device); gchar *gpm_upower_get_device_description (UpDevice *device); +/* Power helpers */ +gboolean gsd_power_is_hardware_a_vm (void); + G_END_DECLS #endif /* __GPMCOMMON_H */ |