~ubuntu-branches/ubuntu/natty/upower/natty

« back to all changes in this revision

Viewing changes to doc/html/UPower-up-history-item.html

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-07-12 14:43:12 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20100712144312-mk9w8zlsw2cztdb7
Tags: 0.9.5-1
* New upstream release:
  - Dynamic testing for enough hibernate swap. (LP: #599352)
  - Port UPower to libusb1 to avoid unfixable crashes. (LP: #522827)
* debian/rules: Build a PO template during package build, for translation
  systems. (LP: #538321)
* debian/control: Switch libusb-dev build dependency to libusb-1.0-0-dev,
  and add libimobiledevice-dev to support the new backend.
* debian/control: Bump Standards-Version to 3.9.0; no changes necessary.
* Drop transitional devicekit-power-doc package. It's been in testing long
  enough, and we do not want to carry it into the squeeze release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="libupower-glib.html" title="libupower-glib 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.14 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
38
38
<div class="refsynopsisdiv" title="Synopsis">
39
39
<a name="UPower-up-history-item.synopsis"></a><h2>Synopsis</h2>
40
40
<pre class="synopsis">typedef             <a class="link" href="UPower-up-history-item.html#UpHistoryItemPrivate" title="UpHistoryItemPrivate">UpHistoryItemPrivate</a>;
41
 
<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);
42
 
<a href="/usr/share/gtk-doc/html/glib/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);
43
 
<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,
44
 
                                                         <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> value);
45
 
<a href="/usr/share/gtk-doc/html/glib/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);
46
 
<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,
47
 
                                                         <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> time);
48
 
<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);
49
 
<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,
50
 
                                                         <a class="link" href="UPower-up-types.html#UpDeviceState" title="enum UpDeviceState"><span class="returnvalue">UpDeviceState</span></a> state);
 
41
<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>                 (<em class="parameter"><code><span class="type">void</span></code></em>);
 
42
<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>           (<em class="parameter"><code><span class="type">UpHistoryItem</span> *history_item</code></em>);
 
43
<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>           (<em class="parameter"><code><span class="type">UpHistoryItem</span> *history_item</code></em>,
 
44
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> value</code></em>);
 
45
<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>            (<em class="parameter"><code><span class="type">UpHistoryItem</span> *history_item</code></em>);
 
46
<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>            (<em class="parameter"><code><span class="type">UpHistoryItem</span> *history_item</code></em>,
 
47
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> time</code></em>);
 
48
<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>           (<em class="parameter"><code><span class="type">UpHistoryItem</span> *history_item</code></em>);
 
49
<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>           (<em class="parameter"><code><span class="type">UpHistoryItem</span> *history_item</code></em>,
 
50
                                                         <em class="parameter"><code><a class="link" href="UPower-up-types.html#UpDeviceState" title="enum UpDeviceState"><span class="type">UpDeviceState</span></a> state</code></em>);
51
51
</pre>
52
52
</div>
53
53
<div class="refsect1" title="Description">
57
57
daemon in response to a query.
58
58
</p>
59
59
<p>
60
 
See also: <span class="type">UpDevice</span>, <span class="type">UpClient</span></p>
 
60
See also: <span class="type">UpDevice</span>, <span class="type">UpClient</span>
 
61
</p>
61
62
</div>
62
63
<div class="refsect1" title="Details">
63
64
<a name="UPower-up-history-item.details"></a><h2>Details</h2>
69
70
<hr>
70
71
<div class="refsect2" title="up_history_item_new ()">
71
72
<a name="up-history-item-new"></a><h3>up_history_item_new ()</h3>
72
 
<pre class="programlisting"><span class="returnvalue">UpHistoryItem</span> *     up_history_item_new                 (void);</pre>
 
73
<pre class="programlisting"><span class="returnvalue">UpHistoryItem</span> *     up_history_item_new                 (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
73
74
<div class="variablelist"><table border="0">
74
75
<col align="left" valign="top">
75
76
<tbody><tr>
84
85
<hr>
85
86
<div class="refsect2" title="up_history_item_get_value ()">
86
87
<a name="up-history-item-get-value"></a><h3>up_history_item_get_value ()</h3>
87
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             up_history_item_get_value           (<span class="returnvalue">UpHistoryItem</span> *history_item);</pre>
 
88
<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           (<em class="parameter"><code><span class="type">UpHistoryItem</span> *history_item</code></em>);</pre>
88
89
<p>
89
 
Gets the item value.</p>
 
90
Gets the item value.
 
91
</p>
90
92
<div class="variablelist"><table border="0">
91
93
<col align="left" valign="top">
92
94
<tbody><tr>
93
95
<td><p><span class="term"><em class="parameter"><code>history_item</code></em> :</span></p></td>
94
 
<td> <span class="type">UpHistoryItem</span>
 
96
<td>
 
97
<span class="type">UpHistoryItem</span>
95
98
</td>
96
99
</tr></tbody>
97
100
</table></div>
100
103
<hr>
101
104
<div class="refsect2" title="up_history_item_set_value ()">
102
105
<a name="up-history-item-set-value"></a><h3>up_history_item_set_value ()</h3>
103
 
<pre class="programlisting"><span class="returnvalue">void</span>                up_history_item_set_value           (<span class="returnvalue">UpHistoryItem</span> *history_item,
104
 
                                                         <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> value);</pre>
 
106
<pre class="programlisting"><span class="returnvalue">void</span>                up_history_item_set_value           (<em class="parameter"><code><span class="type">UpHistoryItem</span> *history_item</code></em>,
 
107
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> value</code></em>);</pre>
105
108
<p>
106
 
Sets the item value.</p>
 
109
Sets the item value.
 
110
</p>
107
111
<div class="variablelist"><table border="0">
108
112
<col align="left" valign="top">
109
113
<tbody>
110
114
<tr>
111
115
<td><p><span class="term"><em class="parameter"><code>history_item</code></em> :</span></p></td>
112
 
<td> <span class="type">UpHistoryItem</span>
 
116
<td>
 
117
<span class="type">UpHistoryItem</span>
113
118
</td>
114
119
</tr>
115
120
<tr>
116
121
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
117
 
<td> the new value
 
122
<td>the new value
118
123
</td>
119
124
</tr>
120
125
</tbody>
124
129
<hr>
125
130
<div class="refsect2" title="up_history_item_get_time ()">
126
131
<a name="up-history-item-get-time"></a><h3>up_history_item_get_time ()</h3>
127
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               up_history_item_get_time            (<span class="returnvalue">UpHistoryItem</span> *history_item);</pre>
 
132
<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            (<em class="parameter"><code><span class="type">UpHistoryItem</span> *history_item</code></em>);</pre>
128
133
<p>
129
 
Gets the item time.</p>
 
134
Gets the item time.
 
135
</p>
130
136
<div class="variablelist"><table border="0">
131
137
<col align="left" valign="top">
132
138
<tbody><tr>
133
139
<td><p><span class="term"><em class="parameter"><code>history_item</code></em> :</span></p></td>
134
 
<td> <span class="type">UpHistoryItem</span>
 
140
<td>
 
141
<span class="type">UpHistoryItem</span>
135
142
</td>
136
143
</tr></tbody>
137
144
</table></div>
140
147
<hr>
141
148
<div class="refsect2" title="up_history_item_set_time ()">
142
149
<a name="up-history-item-set-time"></a><h3>up_history_item_set_time ()</h3>
143
 
<pre class="programlisting"><span class="returnvalue">void</span>                up_history_item_set_time            (<span class="returnvalue">UpHistoryItem</span> *history_item,
144
 
                                                         <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> time);</pre>
 
150
<pre class="programlisting"><span class="returnvalue">void</span>                up_history_item_set_time            (<em class="parameter"><code><span class="type">UpHistoryItem</span> *history_item</code></em>,
 
151
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> time</code></em>);</pre>
145
152
<p>
146
 
Sets the item time.</p>
 
153
Sets the item time.
 
154
</p>
147
155
<div class="variablelist"><table border="0">
148
156
<col align="left" valign="top">
149
157
<tbody>
150
158
<tr>
151
159
<td><p><span class="term"><em class="parameter"><code>history_item</code></em> :</span></p></td>
152
 
<td> <span class="type">UpHistoryItem</span>
 
160
<td>
 
161
<span class="type">UpHistoryItem</span>
153
162
</td>
154
163
</tr>
155
164
<tr>
156
165
<td><p><span class="term"><em class="parameter"><code>time</code></em> :</span></p></td>
157
 
<td> the new value
 
166
<td>the new value
158
167
</td>
159
168
</tr>
160
169
</tbody>
164
173
<hr>
165
174
<div class="refsect2" title="up_history_item_get_state ()">
166
175
<a name="up-history-item-get-state"></a><h3>up_history_item_get_state ()</h3>
167
 
<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>
 
176
<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           (<em class="parameter"><code><span class="type">UpHistoryItem</span> *history_item</code></em>);</pre>
168
177
<p>
169
 
Gets the item state.</p>
 
178
Gets the item state.
 
179
</p>
170
180
<div class="variablelist"><table border="0">
171
181
<col align="left" valign="top">
172
182
<tbody><tr>
173
183
<td><p><span class="term"><em class="parameter"><code>history_item</code></em> :</span></p></td>
174
 
<td> <span class="type">UpHistoryItem</span>
 
184
<td>
 
185
<span class="type">UpHistoryItem</span>
175
186
</td>
176
187
</tr></tbody>
177
188
</table></div>
180
191
<hr>
181
192
<div class="refsect2" title="up_history_item_set_state ()">
182
193
<a name="up-history-item-set-state"></a><h3>up_history_item_set_state ()</h3>
183
 
<pre class="programlisting"><span class="returnvalue">void</span>                up_history_item_set_state           (<span class="returnvalue">UpHistoryItem</span> *history_item,
184
 
                                                         <a class="link" href="UPower-up-types.html#UpDeviceState" title="enum UpDeviceState"><span class="returnvalue">UpDeviceState</span></a> state);</pre>
 
194
<pre class="programlisting"><span class="returnvalue">void</span>                up_history_item_set_state           (<em class="parameter"><code><span class="type">UpHistoryItem</span> *history_item</code></em>,
 
195
                                                         <em class="parameter"><code><a class="link" href="UPower-up-types.html#UpDeviceState" title="enum UpDeviceState"><span class="type">UpDeviceState</span></a> state</code></em>);</pre>
185
196
<p>
186
 
Sets the item state.</p>
 
197
Sets the item state.
 
198
</p>
187
199
<div class="variablelist"><table border="0">
188
200
<col align="left" valign="top">
189
201
<tbody>
190
202
<tr>
191
203
<td><p><span class="term"><em class="parameter"><code>history_item</code></em> :</span></p></td>
192
 
<td> <span class="type">UpHistoryItem</span>
 
204
<td>
 
205
<span class="type">UpHistoryItem</span>
193
206
</td>
194
207
</tr>
195
208
<tr>
196
209
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
197
 
<td> the new value
 
210
<td>the new value
198
211
</td>
199
212
</tr>
200
213
</tbody>
205
218
</div>
206
219
<div class="footer">
207
220
<hr>
208
 
          Generated by GTK-Doc V1.14</div>
 
221
          Generated by GTK-Doc V1.15</div>
209
222
</body>
210
223
</html>
 
 
b'\\ No newline at end of file'