~xavi-garcia-mena/ubuntu/vivid/upower/percentages-power-off

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-02-16 10:16:24 UTC
  • Revision ID: james.westby@ubuntu.com-20100216101624-2cmwqsr1ndftdd87
Tags: upstream-0.9.0+git20100216.72bb2
Import upstream version 0.9.0+git20100216.72bb2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
5
<title>up-stats-item</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
 
7
<link rel="home" href="index.html" title="UPower Reference Manual">
 
8
<link rel="up" href="libupower-glib.html" title="libpackagekit GObjects">
 
9
<link rel="prev" href="UPower-up-qos-item.html" title="up-qos-item">
 
10
<link rel="next" href="UPower-up-wakeup-item.html" title="up-wakeup-item">
 
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
 
12
<link rel="stylesheet" href="style.css" type="text/css">
 
13
<link rel="reference" href="ref-dbus.html" title="D-Bus API Reference">
 
14
<link rel="reference" href="libupower-glib.html" title="libpackagekit GObjects">
 
15
<link rel="reference" href="libupower-glib-helpers.html" title="libupower-glib helpers">
 
16
<link rel="reference" href="tools-fileformats.html" title="Manual Pages">
 
17
<link rel="index" href="ix01.html" title="Index">
 
18
<link rel="appendix" href="license.html" title="Appendix A. License">
 
19
</head>
 
20
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
21
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
22
<tr valign="middle">
 
23
<td><a accesskey="p" href="UPower-up-qos-item.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
24
<td><a accesskey="u" href="libupower-glib.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
25
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
26
<th width="100%" align="center">UPower Reference Manual</th>
 
27
<td><a accesskey="n" href="UPower-up-wakeup-item.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
28
</tr>
 
29
<tr><td colspan="5" class="shortcuts">
 
30
<a href="#UPower-up-stats-item.synopsis" class="shortcut">Top</a>
 
31
                 | 
 
32
                <a href="#UPower-up-stats-item.description" class="shortcut">Description</a>
 
33
</td></tr>
 
34
</table>
 
35
<div class="refentry" title="up-stats-item">
 
36
<a name="UPower-up-stats-item"></a><div class="titlepage"></div>
 
37
<div class="refnamediv"><table width="100%"><tr>
 
38
<td valign="top">
 
39
<h2><span class="refentrytitle"><a name="UPower-up-stats-item.top_of_page"></a>up-stats-item</span></h2>
 
40
<p>up-stats-item — Helper object representing one item of statistics data.</p>
 
41
</td>
 
42
<td valign="top" align="right"></td>
 
43
</tr></table></div>
 
44
<div class="refsynopsisdiv" title="Synopsis">
 
45
<a name="UPower-up-stats-item.synopsis"></a><h2>Synopsis</h2>
 
46
<pre class="synopsis">
 
47
typedef             <a class="link" href="UPower-up-stats-item.html#UpStatsItemPrivate" title="UpStatsItemPrivate">UpStatsItemPrivate</a>;
 
48
UpStatsItem *       <a class="link" href="UPower-up-stats-item.html#up-stats-item-new" title="up_stats_item_new ()">up_stats_item_new</a>                   (void);
 
49
<a
 
50
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
 
51
>gdouble</a>             <a class="link" href="UPower-up-stats-item.html#up-stats-item-get-value" title="up_stats_item_get_value ()">up_stats_item_get_value</a>             (UpStatsItem *stats_item);
 
52
void                <a class="link" href="UPower-up-stats-item.html#up-stats-item-set-value" title="up_stats_item_set_value ()">up_stats_item_set_value</a>             (UpStatsItem *stats_item,
 
53
                                                         <a
 
54
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
 
55
>gdouble</a> value);
 
56
<a
 
57
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
 
58
>gdouble</a>             <a class="link" href="UPower-up-stats-item.html#up-stats-item-get-accuracy" title="up_stats_item_get_accuracy ()">up_stats_item_get_accuracy</a>          (UpStatsItem *stats_item);
 
59
void                <a class="link" href="UPower-up-stats-item.html#up-stats-item-set-accuracy" title="up_stats_item_set_accuracy ()">up_stats_item_set_accuracy</a>          (UpStatsItem *stats_item,
 
60
                                                         <a
 
61
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
 
62
>gdouble</a> accuracy);
 
63
</pre>
 
64
</div>
 
65
<div class="refsect1" title="Description">
 
66
<a name="UPower-up-stats-item.description"></a><h2>Description</h2>
 
67
<p>
 
68
This object represents one item of data which may be returned from the
 
69
daemon in response to a query.
 
70
</p>
 
71
<p>
 
72
See also: <span class="type">UpDevice</span>, <span class="type">UpClient</span></p>
 
73
</div>
 
74
<div class="refsect1" title="Details">
 
75
<a name="UPower-up-stats-item.details"></a><h2>Details</h2>
 
76
<div class="refsect2" title="UpStatsItemPrivate">
 
77
<a name="UpStatsItemPrivate"></a><h3>UpStatsItemPrivate</h3>
 
78
<pre class="programlisting">typedef struct UpStatsItemPrivate UpStatsItemPrivate;
 
79
</pre>
 
80
</div>
 
81
<hr>
 
82
<div class="refsect2" title="up_stats_item_new ()">
 
83
<a name="up-stats-item-new"></a><h3>up_stats_item_new ()</h3>
 
84
<pre class="programlisting">UpStatsItem *       up_stats_item_new                   (void);</pre>
 
85
<p>
 
86
</p>
 
87
<div class="variablelist"><table border="0">
 
88
<col align="left" valign="top">
 
89
<tbody><tr>
 
90
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
91
<td> a new UpStatsItem object.
 
92
 
 
93
</td>
 
94
</tr></tbody>
 
95
</table></div>
 
96
<p class="since">Since 0.9.0</p>
 
97
</div>
 
98
<hr>
 
99
<div class="refsect2" title="up_stats_item_get_value ()">
 
100
<a name="up-stats-item-get-value"></a><h3>up_stats_item_get_value ()</h3>
 
101
<pre class="programlisting"><a
 
102
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
 
103
>gdouble</a>             up_stats_item_get_value             (UpStatsItem *stats_item);</pre>
 
104
<p>
 
105
Gets the item value.</p>
 
106
<p class="since">Since 0.9.0</p>
 
107
</div>
 
108
<hr>
 
109
<div class="refsect2" title="up_stats_item_set_value ()">
 
110
<a name="up-stats-item-set-value"></a><h3>up_stats_item_set_value ()</h3>
 
111
<pre class="programlisting">void                up_stats_item_set_value             (UpStatsItem *stats_item,
 
112
                                                         <a
 
113
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
 
114
>gdouble</a> value);</pre>
 
115
<p>
 
116
Sets the item value.</p>
 
117
<p class="since">Since 0.9.0</p>
 
118
</div>
 
119
<hr>
 
120
<div class="refsect2" title="up_stats_item_get_accuracy ()">
 
121
<a name="up-stats-item-get-accuracy"></a><h3>up_stats_item_get_accuracy ()</h3>
 
122
<pre class="programlisting"><a
 
123
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
 
124
>gdouble</a>             up_stats_item_get_accuracy          (UpStatsItem *stats_item);</pre>
 
125
<p>
 
126
Gets the item accuracy.</p>
 
127
<p class="since">Since 0.9.0</p>
 
128
</div>
 
129
<hr>
 
130
<div class="refsect2" title="up_stats_item_set_accuracy ()">
 
131
<a name="up-stats-item-set-accuracy"></a><h3>up_stats_item_set_accuracy ()</h3>
 
132
<pre class="programlisting">void                up_stats_item_set_accuracy          (UpStatsItem *stats_item,
 
133
                                                         <a
 
134
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
 
135
>gdouble</a> accuracy);</pre>
 
136
<p>
 
137
Sets the item accuracy.</p>
 
138
<p class="since">Since 0.9.0</p>
 
139
</div>
 
140
</div>
 
141
</div>
 
142
<div class="footer">
 
143
<hr>
 
144
          Generated by GTK-Doc V1.11</div>
 
145
</body>
 
146
</html>