8
8
<link rel="up" href="libupower-glib.html" title="libpackagekit GObjects">
9
9
<link rel="prev" href="UPower-up-device.html" title="up-device">
10
10
<link rel="next" href="UPower-up-qos-item.html" title="up-qos-item">
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.13 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="reference" href="ref-dbus.html" title="D-Bus API Reference">
14
14
<link rel="reference" href="libupower-glib.html" title="libpackagekit GObjects">
29
29
<tr><td colspan="5" class="shortcuts">
30
30
<a href="#UPower-up-history-item.synopsis" class="shortcut">Top</a>
32
<a href="#UPower-up-history-item.description" class="shortcut">Description</a>
32
<a href="#UPower-up-history-item.description" class="shortcut">Description</a>
35
35
<div class="refentry" title="up-history-item">
43
43
</tr></table></div>
44
44
<div class="refsynopsisdiv" title="Synopsis">
45
45
<a name="UPower-up-history-item.synopsis"></a><h2>Synopsis</h2>
46
<pre class="synopsis">
47
typedef <a class="link" href="UPower-up-history-item.html#UpHistoryItemPrivate" title="UpHistoryItemPrivate">UpHistoryItemPrivate</a>;
48
UpHistoryItem * <a class="link" href="UPower-up-history-item.html#up-history-item-new" title="up_history_item_new ()">up_history_item_new</a> (void);
50
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
51
>gdouble</a> <a class="link" href="UPower-up-history-item.html#up-history-item-get-value" title="up_history_item_get_value ()">up_history_item_get_value</a> (UpHistoryItem *history_item);
52
void <a class="link" href="UPower-up-history-item.html#up-history-item-set-value" title="up_history_item_set_value ()">up_history_item_set_value</a> (UpHistoryItem *history_item,
54
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
57
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
58
>guint</a> <a class="link" href="UPower-up-history-item.html#up-history-item-get-time" title="up_history_item_get_time ()">up_history_item_get_time</a> (UpHistoryItem *history_item);
59
void <a class="link" href="UPower-up-history-item.html#up-history-item-set-time" title="up_history_item_set_time ()">up_history_item_set_time</a> (UpHistoryItem *history_item,
61
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
63
<a class="link" href="UPower-up-types.html#UpDeviceState" title="enum UpDeviceState">UpDeviceState</a> <a class="link" href="UPower-up-history-item.html#up-history-item-get-state" title="up_history_item_get_state ()">up_history_item_get_state</a> (UpHistoryItem *history_item);
64
void <a class="link" href="UPower-up-history-item.html#up-history-item-set-state" title="up_history_item_set_state ()">up_history_item_set_state</a> (UpHistoryItem *history_item,
65
<a class="link" href="UPower-up-types.html#UpDeviceState" title="enum UpDeviceState">UpDeviceState</a> state);
46
<pre class="synopsis">typedef <a class="link" href="UPower-up-history-item.html#UpHistoryItemPrivate" title="UpHistoryItemPrivate">UpHistoryItemPrivate</a>;
47
<span class="returnvalue">UpHistoryItem</span> * <a class="link" href="UPower-up-history-item.html#up-history-item-new" title="up_history_item_new ()">up_history_item_new</a> (void);
48
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="UPower-up-history-item.html#up-history-item-get-value" title="up_history_item_get_value ()">up_history_item_get_value</a> (<span class="returnvalue">UpHistoryItem</span> *history_item);
49
<span class="returnvalue">void</span> <a class="link" href="UPower-up-history-item.html#up-history-item-set-value" title="up_history_item_set_value ()">up_history_item_set_value</a> (<span class="returnvalue">UpHistoryItem</span> *history_item,
50
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> value);
51
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="UPower-up-history-item.html#up-history-item-get-time" title="up_history_item_get_time ()">up_history_item_get_time</a> (<span class="returnvalue">UpHistoryItem</span> *history_item);
52
<span class="returnvalue">void</span> <a class="link" href="UPower-up-history-item.html#up-history-item-set-time" title="up_history_item_set_time ()">up_history_item_set_time</a> (<span class="returnvalue">UpHistoryItem</span> *history_item,
53
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> time);
54
<a class="link" href="UPower-up-types.html#UpDeviceState" title="enum UpDeviceState"><span class="returnvalue">UpDeviceState</span></a> <a class="link" href="UPower-up-history-item.html#up-history-item-get-state" title="up_history_item_get_state ()">up_history_item_get_state</a> (<span class="returnvalue">UpHistoryItem</span> *history_item);
55
<span class="returnvalue">void</span> <a class="link" href="UPower-up-history-item.html#up-history-item-set-state" title="up_history_item_set_state ()">up_history_item_set_state</a> (<span class="returnvalue">UpHistoryItem</span> *history_item,
56
<a class="link" href="UPower-up-types.html#UpDeviceState" title="enum UpDeviceState"><span class="returnvalue">UpDeviceState</span></a> state);
68
59
<div class="refsect1" title="Description">
85
76
<div class="refsect2" title="up_history_item_new ()">
86
77
<a name="up-history-item-new"></a><h3>up_history_item_new ()</h3>
87
<pre class="programlisting">UpHistoryItem * up_history_item_new (void);</pre>
78
<pre class="programlisting"><span class="returnvalue">UpHistoryItem</span> * up_history_item_new (void);</pre>
90
79
<div class="variablelist"><table border="0">
91
80
<col align="left" valign="top">
102
91
<div class="refsect2" title="up_history_item_get_value ()">
103
92
<a name="up-history-item-get-value"></a><h3>up_history_item_get_value ()</h3>
104
<pre class="programlisting"><a
105
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
106
>gdouble</a> up_history_item_get_value (UpHistoryItem *history_item);</pre>
93
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> up_history_item_get_value (<span class="returnvalue">UpHistoryItem</span> *history_item);</pre>
108
95
Gets the item value.</p>
109
96
<div class="variablelist"><table border="0">
120
107
<div class="refsect2" title="up_history_item_set_value ()">
121
108
<a name="up-history-item-set-value"></a><h3>up_history_item_set_value ()</h3>
122
<pre class="programlisting">void up_history_item_set_value (UpHistoryItem *history_item,
124
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
125
>gdouble</a> value);</pre>
109
<pre class="programlisting"><span class="returnvalue">void</span> up_history_item_set_value (<span class="returnvalue">UpHistoryItem</span> *history_item,
110
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> value);</pre>
127
112
Sets the item value.</p>
128
113
<div class="variablelist"><table border="0">
146
131
<div class="refsect2" title="up_history_item_get_time ()">
147
132
<a name="up-history-item-get-time"></a><h3>up_history_item_get_time ()</h3>
148
<pre class="programlisting"><a
149
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
150
>guint</a> up_history_item_get_time (UpHistoryItem *history_item);</pre>
133
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> up_history_item_get_time (<span class="returnvalue">UpHistoryItem</span> *history_item);</pre>
152
135
Gets the item time.</p>
153
136
<div class="variablelist"><table border="0">
164
147
<div class="refsect2" title="up_history_item_set_time ()">
165
148
<a name="up-history-item-set-time"></a><h3>up_history_item_set_time ()</h3>
166
<pre class="programlisting">void up_history_item_set_time (UpHistoryItem *history_item,
168
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
169
>guint</a> time);</pre>
149
<pre class="programlisting"><span class="returnvalue">void</span> up_history_item_set_time (<span class="returnvalue">UpHistoryItem</span> *history_item,
150
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> time);</pre>
171
152
Sets the item time.</p>
172
153
<div class="variablelist"><table border="0">
190
171
<div class="refsect2" title="up_history_item_get_state ()">
191
172
<a name="up-history-item-get-state"></a><h3>up_history_item_get_state ()</h3>
192
<pre class="programlisting"><a class="link" href="UPower-up-types.html#UpDeviceState" title="enum UpDeviceState">UpDeviceState</a> up_history_item_get_state (UpHistoryItem *history_item);</pre>
173
<pre class="programlisting"><a class="link" href="UPower-up-types.html#UpDeviceState" title="enum UpDeviceState"><span class="returnvalue">UpDeviceState</span></a> up_history_item_get_state (<span class="returnvalue">UpHistoryItem</span> *history_item);</pre>
194
175
Gets the item state.</p>
195
176
<div class="variablelist"><table border="0">
206
187
<div class="refsect2" title="up_history_item_set_state ()">
207
188
<a name="up-history-item-set-state"></a><h3>up_history_item_set_state ()</h3>
208
<pre class="programlisting">void up_history_item_set_state (UpHistoryItem *history_item,
209
<a class="link" href="UPower-up-types.html#UpDeviceState" title="enum UpDeviceState">UpDeviceState</a> state);</pre>
189
<pre class="programlisting"><span class="returnvalue">void</span> up_history_item_set_state (<span class="returnvalue">UpHistoryItem</span> *history_item,
190
<a class="link" href="UPower-up-types.html#UpDeviceState" title="enum UpDeviceState"><span class="returnvalue">UpDeviceState</span></a> state);</pre>
211
192
Sets the item state.</p>
212
193
<div class="variablelist"><table border="0">