diff options
author | Landry Breuil <landry@rhaalovely.net> | 2011-03-07 20:14:24 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2011-03-21 18:40:07 +0000 |
commit | 5e69186399741889ec369bd05b1daa006888d60c (patch) | |
tree | e6d8a3d08bb25ad79afe6d310498c5e151fc197e /src/openbsd/up-apm-native.h | |
parent | 0580fed09a5cdc73e8b9f6839917a848a664435f (diff) | |
download | upower-5e69186399741889ec369bd05b1daa006888d60c.tar.gz |
openbsd: add up_native_has_sensor() and use it in is_laptop()
Signed-off-by: Richard Hughes <richard@hughsie.com>
Diffstat (limited to 'src/openbsd/up-apm-native.h')
-rw-r--r-- | src/openbsd/up-apm-native.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openbsd/up-apm-native.h b/src/openbsd/up-apm-native.h index 961bd33..c2c3698 100644 --- a/src/openbsd/up-apm-native.h +++ b/src/openbsd/up-apm-native.h @@ -44,6 +44,7 @@ typedef struct UpApmNative* up_apm_native_new (const char*); const gchar * up_apm_native_get_path(UpApmNative*); gboolean up_native_is_laptop(); +gboolean up_native_has_sensor(const char*); G_END_DECLS #endif |