![]() |
![]() |
![]() |
UPower Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
typedef UpWakeupItemPrivate; UpWakeupItem * up_wakeup_item_new (void); gboolean up_wakeup_item_get_is_userspace (UpWakeupItem *wakeup_item); void up_wakeup_item_set_is_userspace (UpWakeupItem *wakeup_item, gboolean is_userspace); guint up_wakeup_item_get_id (UpWakeupItem *wakeup_item); void up_wakeup_item_set_id (UpWakeupItem *wakeup_item, guint id); guint up_wakeup_item_get_old (UpWakeupItem *wakeup_item); void up_wakeup_item_set_old (UpWakeupItem *wakeup_item, guint old); gdouble up_wakeup_item_get_value (UpWakeupItem *wakeup_item); void up_wakeup_item_set_value (UpWakeupItem *wakeup_item, gdouble value); const gchar * up_wakeup_item_get_cmdline (UpWakeupItem *wakeup_item); void up_wakeup_item_set_cmdline (UpWakeupItem *wakeup_item, const gchar *cmdline); const gchar * up_wakeup_item_get_details (UpWakeupItem *wakeup_item); void up_wakeup_item_set_details (UpWakeupItem *wakeup_item, const gchar *details);
This object represents one item of data which may be returned from the daemon in response to a query.
See also: UpDevice, UpClient
UpWakeupItem * up_wakeup_item_new (void);
Returns : |
a new UpWakeupItem object. |
Since 0.9.0
gboolean up_wakeup_item_get_is_userspace (UpWakeupItem *wakeup_item);
Gets if the item is userspace.
|
UpWakeupItem |
Returns : |
the value |
Since 0.9.0
void up_wakeup_item_set_is_userspace (UpWakeupItem *wakeup_item, gboolean is_userspace);
Sets if the item is userspace.
|
UpWakeupItem |
|
the new value |
Since 0.9.0
guint up_wakeup_item_get_id (UpWakeupItem *wakeup_item);
Gets the item id.
|
UpWakeupItem |
Returns : |
the value |
Since 0.9.0
void up_wakeup_item_set_id (UpWakeupItem *wakeup_item, guint id);
Sets the item id.
|
UpWakeupItem |
|
the new value |
Since 0.9.0
guint up_wakeup_item_get_old (UpWakeupItem *wakeup_item);
Gets the item old.
|
UpWakeupItem |
Returns : |
the value |
Since 0.9.0
void up_wakeup_item_set_old (UpWakeupItem *wakeup_item, guint old);
Sets the item old.
|
UpWakeupItem |
|
the new value |
Since 0.9.0
gdouble up_wakeup_item_get_value (UpWakeupItem *wakeup_item);
Gets the item value.
|
UpWakeupItem |
Returns : |
the value |
Since 0.9.0
void up_wakeup_item_set_value (UpWakeupItem *wakeup_item, gdouble value);
Sets the item value.
|
UpWakeupItem |
|
the new value |
Since 0.9.0
const gchar * up_wakeup_item_get_cmdline (UpWakeupItem *wakeup_item);
Gets the item cmdline.
|
UpWakeupItem |
Returns : |
the value |
Since 0.9.0
void up_wakeup_item_set_cmdline (UpWakeupItem *wakeup_item, const gchar *cmdline);
Sets the item cmdline.
|
UpWakeupItem |
|
the new value |
Since 0.9.0
const gchar * up_wakeup_item_get_details (UpWakeupItem *wakeup_item);
Gets the item details.
|
UpWakeupItem |
Returns : |
the value |
Since 0.9.0
void up_wakeup_item_set_details (UpWakeupItem *wakeup_item, const gchar *details);
Sets the item details.
|
UpWakeupItem |
|
the new value |
Since 0.9.0