summaryrefslogtreecommitdiff
path: root/libupower-glib/up-types.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-10-10 11:17:45 +0200
committerBastien Nocera <hadess@hadess.net>2013-10-14 10:42:55 +0200
commit030e2c9d3633e35e8beeecc1f41f6e0ff77b57dc (patch)
tree9c6a7e332fe70b46a18a8d48f673a25225f5cd93 /libupower-glib/up-types.h
parent911727fbaa34a13897a87d71311f74646cd4a5ee (diff)
downloadupower-030e2c9d3633e35e8beeecc1f41f6e0ff77b57dc.tar.gz
lib: Remove deprecated features
All this is now handled by logind.
Diffstat (limited to 'libupower-glib/up-types.h')
-rw-r--r--libupower-glib/up-types.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/libupower-glib/up-types.h b/libupower-glib/up-types.h
index 083d3d9..01fd0b4 100644
--- a/libupower-glib/up-types.h
+++ b/libupower-glib/up-types.h
@@ -95,19 +95,6 @@ typedef enum {
UP_QOS_KIND_LAST
} UpQosKind;
-/**
- * UpSleepKind:
- *
- * The type of QOS request.
- **/
-typedef enum {
- UP_SLEEP_KIND_UNKNOWN,
- UP_SLEEP_KIND_SUSPEND,
- UP_SLEEP_KIND_HIBERNATE,
- UP_SLEEP_KIND_HYBRID,
- UP_SLEEP_KIND_LAST
-} UpSleepKind;
-
const gchar *up_device_kind_to_string (UpDeviceKind type_enum);
const gchar *up_device_state_to_string (UpDeviceState state_enum);
const gchar *up_device_technology_to_string (UpDeviceTechnology technology_enum);
@@ -116,8 +103,6 @@ UpDeviceState up_device_state_from_string (const gchar *state);
UpDeviceTechnology up_device_technology_from_string (const gchar *technology);
const gchar *up_qos_kind_to_string (UpQosKind type);
UpQosKind up_qos_kind_from_string (const gchar *type);
-const gchar *up_sleep_kind_to_string (UpSleepKind sleep_kind_enum);
-UpSleepKind up_sleep_kind_from_string (const gchar *sleep_kind);
G_END_DECLS