![]() |
![]() |
![]() |
UPower Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
UpQosItem * up_qos_item_new (void
); guint up_qos_item_get_uid (UpQosItem *qos_item
); void up_qos_item_set_uid (UpQosItem *qos_item
,guint uid
); guint up_qos_item_get_pid (UpQosItem *qos_item
); void up_qos_item_set_pid (UpQosItem *qos_item
,guint pid
); const gchar * up_qos_item_get_sender (UpQosItem *qos_item
); void up_qos_item_set_sender (UpQosItem *qos_item
,const gchar *sender
); const gchar * up_qos_item_get_cmdline (UpQosItem *qos_item
); void up_qos_item_set_cmdline (UpQosItem *qos_item
,const gchar *cmdline
); guint up_qos_item_get_cookie (UpQosItem *qos_item
); void up_qos_item_set_cookie (UpQosItem *qos_item
,guint cookie
); guint64 up_qos_item_get_timespec (UpQosItem *qos_item
); void up_qos_item_set_timespec (UpQosItem *qos_item
,guint64 timespec
); gboolean up_qos_item_get_persistent (UpQosItem *qos_item
); void up_qos_item_set_persistent (UpQosItem *qos_item
,gboolean persistent
); UpQosKind up_qos_item_get_kind (UpQosItem *qos_item
); void up_qos_item_set_kind (UpQosItem *qos_item
,UpQosKind type
); gint up_qos_item_get_value (UpQosItem *qos_item
); void up_qos_item_set_value (UpQosItem *qos_item
,gint value
);
This object represents one item of data which may be returned from the daemon in response to a query.
See also: UpDevice, UpClient
UpQosItem * up_qos_item_new (void
);
Returns : |
a new UpQosItem object. |
Since 0.9.0
guint up_qos_item_get_uid (UpQosItem *qos_item
);
Gets the item uid.
|
UpQosItem |
Returns : |
the value |
Since 0.9.0
void up_qos_item_set_uid (UpQosItem *qos_item
,guint uid
);
Sets the item uid.
|
UpQosItem |
|
the new value |
Since 0.9.0
guint up_qos_item_get_pid (UpQosItem *qos_item
);
Gets the item pid.
|
UpQosItem |
Returns : |
the value |
Since 0.9.0
void up_qos_item_set_pid (UpQosItem *qos_item
,guint pid
);
Sets the item pid.
|
UpQosItem |
|
the new value |
Since 0.9.0
const gchar * up_qos_item_get_sender (UpQosItem *qos_item
);
Gets the item sender.
|
UpQosItem |
Returns : |
the value |
Since 0.9.0
void up_qos_item_set_sender (UpQosItem *qos_item
,const gchar *sender
);
Sets the item sender.
|
UpQosItem |
|
the new value |
Since 0.9.0
const gchar * up_qos_item_get_cmdline (UpQosItem *qos_item
);
Gets the item cmdline.
|
UpQosItem |
Returns : |
the value |
Since 0.9.0
void up_qos_item_set_cmdline (UpQosItem *qos_item
,const gchar *cmdline
);
Sets the item cmdline.
|
UpQosItem |
|
the new value |
Since 0.9.0
guint up_qos_item_get_cookie (UpQosItem *qos_item
);
Gets the item cookie.
|
UpQosItem |
Returns : |
the value |
Since 0.9.0
void up_qos_item_set_cookie (UpQosItem *qos_item
,guint cookie
);
Sets the item cookie.
|
UpQosItem |
|
the new value |
Since 0.9.0
guint64 up_qos_item_get_timespec (UpQosItem *qos_item
);
Gets the item timespec.
|
UpQosItem |
Returns : |
the value |
Since 0.9.0
void up_qos_item_set_timespec (UpQosItem *qos_item
,guint64 timespec
);
Sets the item timespec.
|
UpQosItem |
|
the new value |
Since 0.9.0
gboolean up_qos_item_get_persistent (UpQosItem *qos_item
);
Gets the item persistent.
|
UpQosItem |
Returns : |
the value |
Since 0.9.0
void up_qos_item_set_persistent (UpQosItem *qos_item
,gboolean persistent
);
Sets the item persistent.
|
UpQosItem |
|
the new value |
Since 0.9.0
UpQosKind up_qos_item_get_kind (UpQosItem *qos_item
);
Gets the item type.
|
UpQosItem |
Returns : |
the value |
Since 0.9.0
void up_qos_item_set_kind (UpQosItem *qos_item
,UpQosKind type
);
Sets the item type.
|
UpQosItem |
|
the new value |
Since 0.9.0
gint up_qos_item_get_value (UpQosItem *qos_item
);
Gets the item value.
|
UpQosItem |
Returns : |
the value |
Since 0.9.0
void up_qos_item_set_value (UpQosItem *qos_item
,gint value
);
Sets the item value.
|
UpQosItem |
|
the new value |
Since 0.9.0