Commit 75778a90 authored by Michael Biebl's avatar Michael Biebl

Imported Upstream version 0.9.9

parent 4e4f5fb6
## Process this file with automake to produce Makefile.in
ACLOCAL_AMFLAGS = -I m4
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = etc libupower-glib src doc tools policy po
......
......@@ -162,6 +162,7 @@ DBUS_GLIB_LIBS = @DBUS_GLIB_LIBS@
DBUS_LIBS = @DBUS_LIBS@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@
......@@ -218,6 +219,7 @@ LT_CURRENT = @LT_CURRENT@
LT_REVISION = @LT_REVISION@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
......@@ -265,6 +267,7 @@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
am__include = @am__include@
......@@ -313,7 +316,7 @@ target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
ACLOCAL_AMFLAGS = -I m4
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = etc libupower-glib src doc tools policy po $(am__append_1)
EXTRA_DIST = \
HACKING \
......
Version 0.9.9
~~~~~~~~~~~~~
Released: 2011-03-21
New Features:
- Add a config option to disable the Watts Up Pro device (Richard Hughes)
- Add a LidForceSleep property to ensure that we don't melt any laptops (Richard Hughes)
- Add an option for polling dock devices in UPower.conf, defaulting to false (Richard Hughes)
Bugfixes:
- Depend on stable GUdev API (Michael Biebl)
- Drop devkit and devkit-power-daemon symlinks (Michael Biebl)
- Fix bitmap check in the input code (Arnaud Patard)
- Honour ACLOCAL_FLAGS in Makefile.am (Richard Hughes)
Version 0.9.8
~~~~~~~~~~~~~
Released: 2011-01-07
......
......@@ -13,8 +13,8 @@
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.66],,
[m4_warning([this file was generated for autoconf 2.66.
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
[m4_warning([this file was generated for autoconf 2.68.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.])])
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
m4_define([up_major_version], [0])
m4_define([up_minor_version], [9])
m4_define([up_micro_version], [8])
m4_define([up_micro_version], [9])
m4_define([up_version],
[up_major_version.up_minor_version.up_micro_version])
......@@ -14,7 +14,7 @@ AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
AM_MAINTAINER_MODE([enable])
GOBJECT_INTROSPECTION_CHECK([0.9.8])
GOBJECT_INTROSPECTION_CHECK([0.9.9])
# enable nice build output on automake1.11
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
......@@ -191,7 +191,7 @@ AC_SUBST(BACKEND, "$with_backend")
# only need GUdev on linux
have_idevice=no
if test x$with_backend = xlinux; then
PKG_CHECK_MODULES(GUDEV, [gudev-1.0 >= 001])
PKG_CHECK_MODULES(GUDEV, [gudev-1.0 >= 147])
PKG_CHECK_MODULES(USB, [libusb-1.0 >= 1.0.0])
AC_ARG_WITH(idevice, AS_HELP_STRING([--without-idevice],[Build without libimobiledevice]),
with_idevice=$withval,with_idevice=yes)
......
This diff is collapsed.
......@@ -56,7 +56,6 @@ UP_WAKEUPS_GET_CLASS
<FILE>up-client</FILE>
UP_CLIENT_ERROR
UP_CLIENT_TYPE_ERROR
UpClientPrivate
device_added
device_changed
device_removed
......@@ -80,9 +79,12 @@ up_client_get_daemon_version
up_client_get_can_hibernate
up_client_get_lid_is_closed
up_client_get_lid_is_present
up_client_get_lid_force_sleep
up_client_get_is_docked
up_client_get_can_suspend
up_client_get_on_battery
up_client_get_on_low_battery
UpClientPrivate
<SUBSECTION Standard>
UP_CLIENT
UP_IS_CLIENT
......@@ -97,7 +99,6 @@ UP_CLIENT_GET_CLASS
<FILE>up-device</FILE>
UP_DEVICE_ERROR
UP_DEVICE_TYPE_ERROR
UpDevicePrivate
changed
_up_device_reserved1
_up_device_reserved2
......@@ -114,6 +115,7 @@ up_device_set_object_path_sync
up_device_get_history_sync
up_device_get_statistics_sync
up_device_get_object_path
UpDevicePrivate
<SUBSECTION Standard>
UP_DEVICE
UP_IS_DEVICE
......
......@@ -81,6 +81,7 @@ DBUS_GLIB_LIBS = @DBUS_GLIB_LIBS@
DBUS_LIBS = @DBUS_LIBS@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@
......@@ -137,6 +138,7 @@ LT_CURRENT = @LT_CURRENT@
LT_REVISION = @LT_REVISION@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
......@@ -184,6 +186,7 @@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
am__include = @am__include@
......
......@@ -44,6 +44,7 @@
<link linkend="UPower:OnLowBattery">'OnLowBattery'</link> read 'b'
<link linkend="UPower:LidIsClosed">'LidIsClosed'</link> read 'b'
<link linkend="UPower:LidIsPresent">'LidIsPresent'</link> read 'b'
<link linkend="UPower:LidForceSleep">'LidForceSleep'</link> read 'b'
<link linkend="UPower:IsDocked">'IsDocked'</link> read 'b'
</synopsis>
</refsect1>
......@@ -200,6 +201,19 @@ method return sender=:1.386 -&gt; dest=:1.451 reply_serial=2
<para>
If the system has a lid device.
</para>
<variablelist role="params"/><refsect2><title><anchor role="function" id="UPower:LidForceSleep"/>The "LidForceSleep" property</title><indexterm><primary>LidForceSleep</primary><secondary>UPower</secondary></indexterm><programlisting>'LidForceSleep' read 'b'
</programlisting></refsect2>
<para>
If the system really has to sleep when the lid is closed.
Some laptops actually melt (!) if the lid is closed and the
computer keeps running. We blacklist those, and do something
sane for the other machines.
</para>
<para>
This allows us to set the default session policy to not
suspend on lid close if the laptop is docked, and be sure
the machine is not going to melt.
</para>
<variablelist role="params"/><refsect2><title><anchor role="function" id="UPower:IsDocked"/>The "IsDocked" property</title><indexterm><primary>IsDocked</primary><secondary>UPower</secondary></indexterm><programlisting>'IsDocked' read 'b'
</programlisting></refsect2>
<para>
......
This diff is collapsed.
......@@ -8,7 +8,7 @@
<link rel="up" href="ref-dbus.html" title="D-Bus API Reference">
<link rel="prev" href="QoS.html" title="org.freedesktop.UPower.QoS">
<link rel="next" href="libupower-glib.html" title="libupower-glib GObjects">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
......@@ -30,7 +30,7 @@
<a href="#KbdBacklight.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry" title="org.freedesktop.UPower.KbdBacklight">
<div class="refentry">
<a name="KbdBacklight"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
......@@ -39,28 +39,28 @@
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Methods">
<div class="refsynopsisdiv">
<h2>Methods</h2>
<pre class="synopsis"><a class="link" href="KbdBacklight.html#KbdBacklight.GetMaxBrightness">GetMaxBrightness</a> (out 'i' value)
<a class="link" href="KbdBacklight.html#KbdBacklight.GetBrightness">GetBrightness</a> (out 'i' value)
<a class="link" href="KbdBacklight.html#KbdBacklight.SetBrightness">SetBrightness</a> (in 'i' value)
</pre>
</div>
<div class="refsect1" title="Signals">
<a name="id2938094"></a><h2>Signals</h2>
<div class="refsect1">
<a name="id414744"></a><h2>Signals</h2>
<pre class="synopsis"><a class="link" href="KbdBacklight.html#KbdBacklight::BrightnessChanged">BrightnessChanged</a> ('i' value)
</pre>
</div>
<div class="refsect1" title="Implemented Interfaces">
<a name="id2946877"></a><h2>Implemented Interfaces</h2>
<div class="refsect1">
<a name="id413638"></a><h2>Implemented Interfaces</h2>
<p>
Objects implementing org.freedesktop.UPower.KbdBacklight also implements
org.freedesktop.DBus.Introspectable,
org.freedesktop.DBus.Properties
</p>
</div>
<div class="refsect1" title="Description">
<a name="id2933586"></a><h2>Description</h2>
<div class="refsect1">
<a name="id418033"></a><h2>Description</h2>
<p>
</p>
......@@ -73,10 +73,10 @@
</p>
</div>
<div class="refsect1" title="Details">
<a name="id2940249"></a><h2>Details</h2>
<div class="refsect2" title="GetMaxBrightness ()">
<a name="id2949278"></a><h3>
<div class="refsect1">
<a name="id437116"></a><h2>Details</h2>
<div class="refsect2">
<a name="id436855"></a><h3>
<a name="KbdBacklight.GetMaxBrightness"></a>GetMaxBrightness ()</h3>
<pre class="programlisting">GetMaxBrightness (out 'i' value)</pre>
</div>
......@@ -92,8 +92,8 @@
</td>
</tr></tbody>
</table></div>
<div class="refsect3" title="Errors">
<a name="id2933118"></a><h4>Errors</h4>
<div class="refsect3">
<a name="id428941"></a><h4>Errors</h4>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
......@@ -103,8 +103,8 @@
</table></div>
</div>
<hr>
<div class="refsect2" title="GetBrightness ()">
<a name="id2933137"></a><h3>
<div class="refsect2">
<a name="id428959"></a><h3>
<a name="KbdBacklight.GetBrightness"></a>GetBrightness ()</h3>
<pre class="programlisting">GetBrightness (out 'i' value)</pre>
</div>
......@@ -120,8 +120,8 @@
</td>
</tr></tbody>
</table></div>
<div class="refsect3" title="Errors">
<a name="id2933181"></a><h4>Errors</h4>
<div class="refsect3">
<a name="id445117"></a><h4>Errors</h4>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
......@@ -131,8 +131,8 @@
</table></div>
</div>
<hr>
<div class="refsect2" title="SetBrightness ()">
<a name="id2933201"></a><h3>
<div class="refsect2">
<a name="id445136"></a><h3>
<a name="KbdBacklight.SetBrightness"></a>SetBrightness ()</h3>
<pre class="programlisting">SetBrightness (in 'i' value)</pre>
</div>
......@@ -148,8 +148,8 @@
</td>
</tr></tbody>
</table></div>
<div class="refsect3" title="Errors">
<a name="id2951655"></a><h4>Errors</h4>
<div class="refsect3">
<a name="id425029"></a><h4>Errors</h4>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
......@@ -159,10 +159,10 @@
</table></div>
</div>
</div>
<div class="refsect1" title="Signal Details">
<a name="id2951675"></a><h2>Signal Details</h2>
<div class="refsect2" title="The BrightnessChanged signal">
<a name="id2951684"></a><h3>
<div class="refsect1">
<a name="id425048"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="id425056"></a><h3>
<a name="KbdBacklight::BrightnessChanged"></a>The BrightnessChanged signal</h3>
<pre class="programlisting">BrightnessChanged ('i' value)</pre>
</div>
......@@ -182,6 +182,6 @@
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.15</div>
Generated by GTK-Doc V1.17</div>
</body>
</html>
\ No newline at end of file
......@@ -8,7 +8,7 @@
<link rel="up" href="ref-dbus.html" title="D-Bus API Reference">
<link rel="prev" href="Device.html" title="org.freedesktop.UPower.Device">
<link rel="next" href="KbdBacklight.html" title="org.freedesktop.UPower.KbdBacklight">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
......@@ -30,7 +30,7 @@
<a href="#QoS.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry" title="org.freedesktop.UPower.QoS">
<div class="refentry">
<a name="QoS"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
......@@ -39,7 +39,7 @@
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Methods">
<div class="refsynopsisdiv">
<h2>Methods</h2>
<pre class="synopsis"><a class="link" href="QoS.html#QoS.SetMinimumLatency">SetMinimumLatency</a> (in 's' type,
in 'i' value)
......@@ -54,23 +54,23 @@
<a class="link" href="QoS.html#QoS.GetLatencyRequests">GetLatencyRequests</a> (out 'a(uuusxbssi)' requests)
</pre>
</div>
<div class="refsect1" title="Signals">
<a name="id2931446"></a><h2>Signals</h2>
<div class="refsect1">
<a name="id416311"></a><h2>Signals</h2>
<pre class="synopsis"><a class="link" href="QoS.html#QoS::LatencyChanged">LatencyChanged</a> ('s' type,
'i' value)
<a class="link" href="QoS.html#QoS::RequestsChanged">RequestsChanged</a> ()
</pre>
</div>
<div class="refsect1" title="Implemented Interfaces">
<a name="id2947920"></a><h2>Implemented Interfaces</h2>
<div class="refsect1">
<a name="id414058"></a><h2>Implemented Interfaces</h2>
<p>
Objects implementing org.freedesktop.UPower.QoS also implements
org.freedesktop.DBus.Introspectable,
org.freedesktop.DBus.Properties
</p>
</div>
<div class="refsect1" title="Description">
<a name="id2937929"></a><h2>Description</h2>
<div class="refsect1">
<a name="id438661"></a><h2>Description</h2>
<p>
</p>
......@@ -156,10 +156,10 @@
</p>
</div>
<div class="refsect1" title="Details">
<a name="id2923072"></a><h2>Details</h2>
<div class="refsect2" title="SetMinimumLatency ()">
<a name="id2923080"></a><h3>
<div class="refsect1">
<a name="id445014"></a><h2>Details</h2>
<div class="refsect2">
<a name="id445022"></a><h3>
<a name="QoS.SetMinimumLatency"></a>SetMinimumLatency ()</h3>
<pre class="programlisting">SetMinimumLatency (in 's' type,
in 'i' value)</pre>
......@@ -192,8 +192,8 @@
</tr>
</tbody>
</table></div>
<div class="refsect3" title="Errors">
<a name="id2929572"></a><h4>Errors</h4>
<div class="refsect3">
<a name="id442378"></a><h4>Errors</h4>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
......@@ -202,13 +202,13 @@
</tr></tbody>
</table></div>
</div>
<div class="refsect3" title="Permissions">
<a name="id2929591"></a><h4>Permissions</h4>
<div class="refsect3">
<a name="id442396"></a><h4>Permissions</h4>
<p class="permission">Callers need the <code class="literal">org.freedesktop.upower.qos.set-minimum-latency</code> authorization</p>
</div>
<hr>
<div class="refsect2" title="RequestLatency ()">
<a name="id2929606"></a><h3>
<div class="refsect2">
<a name="id442410"></a><h3>
<a name="QoS.RequestLatency"></a>RequestLatency ()</h3>
<pre class="programlisting">RequestLatency (in 's' type,
in 'i' value,
......@@ -255,8 +255,8 @@
</tr>
</tbody>
</table></div>
<div class="refsect3" title="Errors">
<a name="id2912629"></a><h4>Errors</h4>
<div class="refsect3">
<a name="id414500"></a><h4>Errors</h4>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
......@@ -265,8 +265,8 @@
</tr></tbody>
</table></div>
</div>
<div class="refsect3" title="Permissions">
<a name="id2912648"></a><h4>Permissions</h4>
<div class="refsect3">
<a name="id414518"></a><h4>Permissions</h4>
<p class="permission">
Callers need the
<code class="literal">org.freedesktop.upower.qos.request-latency-persistent</code>
......@@ -275,8 +275,8 @@
</p>
</div>
<hr>
<div class="refsect2" title="CancelRequest ()">
<a name="id2912674"></a><h3>
<div class="refsect2">
<a name="id414544"></a><h3>
<a name="QoS.CancelRequest"></a>CancelRequest ()</h3>
<pre class="programlisting">CancelRequest (in 's' type,
in 'u' cookie)</pre>
......@@ -303,8 +303,8 @@
</tr>
</tbody>
</table></div>
<div class="refsect3" title="Errors">
<a name="id2885330"></a><h4>Errors</h4>
<div class="refsect3">
<a name="id446552"></a><h4>Errors</h4>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
......@@ -313,8 +313,8 @@
</tr></tbody>
</table></div>
</div>
<div class="refsect3" title="Permissions">
<a name="id2885349"></a><h4>Permissions</h4>
<div class="refsect3">
<a name="id446570"></a><h4>Permissions</h4>
<p class="permission">
Callers need the
<code class="literal">org.freedesktop.upower.qos.cancel-request</code>
......@@ -322,8 +322,8 @@
</p>
</div>
<hr>
<div class="refsect2" title="GetLatency ()">
<a name="id2885364"></a><h3>
<div class="refsect2">
<a name="id446584"></a><h3>
<a name="QoS.GetLatency"></a>GetLatency ()</h3>
<pre class="programlisting">GetLatency (in 's' type,
out 'i' value)</pre>
......@@ -350,8 +350,8 @@
</tr>
</tbody>
</table></div>
<div class="refsect3" title="Errors">
<a name="id2885440"></a><h4>Errors</h4>
<div class="refsect3">
<a name="id446656"></a><h4>Errors</h4>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
......@@ -361,8 +361,8 @@
</table></div>
</div>
<hr>
<div class="refsect2" title="GetLatencyRequests ()">
<a name="id2885460"></a><h3>
<div class="refsect2">
<a name="id446674"></a><h3>
<a name="QoS.GetLatencyRequests"></a>GetLatencyRequests ()</h3>
<pre class="programlisting">GetLatencyRequests (out 'a(uuusxbssi)' requests)</pre>
</div>
......@@ -415,10 +415,10 @@
</tr></tbody>
</table></div>
</div>
<div class="refsect1" title="Signal Details">
<a name="id2931844"></a><h2>Signal Details</h2>
<div class="refsect2" title="The LatencyChanged signal">
<a name="id2931853"></a><h3>
<div class="refsect1">
<a name="id446794"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="id446802"></a><h3>
<a name="QoS::LatencyChanged"></a>The LatencyChanged signal</h3>
<pre class="programlisting">LatencyChanged ('s' type,
'i' value)</pre>
......@@ -446,8 +446,8 @@
</tbody>
</table></div>
<hr>
<div class="refsect2" title="The RequestsChanged signal">
<a name="id2931912"></a><h3>
<div class="refsect2">
<a name="id446857"></a><h3>
<a name="QoS::RequestsChanged"></a>The RequestsChanged signal</h3>
<pre class="programlisting">RequestsChanged ()</pre>
</div>
......@@ -462,6 +462,6 @@
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.15</div>
Generated by GTK-Doc V1.17</div>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -8,7 +8,7 @@
<link rel="up" href="libupower-glib.html" title="libupower-glib GObjects">
<link rel="prev" href="UPower-up-qos-item.html" title="up-qos-item">
<link rel="next" href="UPower-up-wakeup-item.html" title="up-wakeup-item">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
......@@ -26,7 +26,7 @@
<a href="#UPower-up-stats-item.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" title="up-stats-item">
<div class="refentry">
<a name="UPower-up-stats-item"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
......@@ -35,7 +35,7 @@
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<div class="refsynopsisdiv">
<a name="UPower-up-stats-item.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">typedef <a class="link" href="UPower-up-stats-item.html#UpStatsItemPrivate" title="UpStatsItemPrivate">UpStatsItemPrivate</a>;
<span class="returnvalue">UpStatsItem</span> * <a class="link" href="UPower-up-stats-item.html#up-stats-item-new" title="up_stats_item_new ()">up_stats_item_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
......@@ -47,7 +47,7 @@
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> accuracy</code></em>);
</pre>
</div>
<div class="refsect1" title="Description">
<div class="refsect1">
<a name="UPower-up-stats-item.description"></a><h2>Description</h2>
<p>
This object represents one item of data which may be returned from the
......@@ -57,30 +57,28 @@ daemon in response to a query.
See also: <span class="type">UpDevice</span>, <span class="type">UpClient</span>
</p>
</div>
<div class="refsect1" title="Details">
<div class="refsect1">
<a name="UPower-up-stats-item.details"></a><h2>Details</h2>
<div class="refsect2" title="UpStatsItemPrivate">
<div class="refsect2">
<a name="UpStatsItemPrivate"></a><h3>UpStatsItemPrivate</h3>
<pre class="programlisting">typedef struct UpStatsItemPrivate UpStatsItemPrivate;
</pre>
</div>
<hr>
<div class="refsect2" title="up_stats_item_new ()">
<div class="refsect2">
<a name="up-stats-item-new"></a><h3>up_stats_item_new ()</h3>
<pre class="programlisting"><span class="returnvalue">UpStatsItem</span> * up_stats_item_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new UpStatsItem object.
</td>
<td>a new UpStatsItem object.</td>
</tr></tbody>
</table></div>
<p class="since">Since 0.9.0</p>
</div>
<hr>
<div class="refsect2" title="up_stats_item_get_value ()">
<div class="refsect2">
<a name="up-stats-item-get-value"></a><h3>up_stats_item_get_value ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> up_stats_item_get_value (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>);</pre>
<p>
......@@ -89,7 +87,7 @@ Gets the item value.
<p class="since">Since 0.9.0</p>
</div>
<hr>
<div class="refsect2" title="up_stats_item_set_value ()">
<div class="refsect2">
<a name="up-stats-item-set-value"></a><h3>up_stats_item_set_value ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> up_stats_item_set_value (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>,
<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>
......@@ -99,7 +97,7 @@ Sets the item value.
<p class="since">Since 0.9.0</p>
</div>
<hr>
<div class="refsect2" title="up_stats_item_get_accuracy ()">
<div class="refsect2">
<a name="up-stats-item-get-accuracy"></a><h3>up_stats_item_get_accuracy ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> up_stats_item_get_accuracy (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>);</pre>
<p>
......@@ -108,7 +106,7 @@ Gets the item accuracy.
<p class="since">Since 0.9.0</p>
</div>
<hr>
<div class="refsect2" title="up_stats_item_set_accuracy ()">
<div class="refsect2">
<a name="up-stats-item-set-accuracy"></a><h3>up_stats_item_set_accuracy ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> up_stats_item_set_accuracy (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> accuracy</code></em>);</pre>
......@@ -121,6 +119,6 @@ Sets the item accuracy.
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.15</div>
Generated by GTK-Doc V1.17</div>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
......@@ -8,7 +8,7 @@
<link rel="up" href="tools-fileformats.html" title="Manual Pages">
<link rel="prev" href="tools-fileformats.html" title="Manual Pages">
<link rel="next" href="upowerd.8.html" title="upowerd">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
......@@ -19,7 +19,7 @@
<th width="100%" align="center">UPower Reference Manual</th>
<td><a accesskey="n" href="upowerd.8.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry" title="UPower">
<div class="refentry">
<a name="UPower.7"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
......@@ -28,8 +28,8 @@
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1" title="DESCRIPTION">
<a name="id2926003"></a><h2>DESCRIPTION</h2>
<div class="refsect1">
<a name="id432075"></a><h2>DESCRIPTION</h2>
<p>
UPower provides an interface to enumerate power sources
on the system and control system-wide power management. Any
......@@ -39,16 +39,16 @@
the system) is restricted using PolicyKit.
</p>
</div>
<div class="refsect1" title="AUTHOR">
<a name="id2911659"></a><h2>AUTHOR</h2>
<div class="refsect1">
<a name="id392779"></a><h2>AUTHOR</h2>
<p>
Written by David Zeuthen <code class="email">&lt;<a class="email" href="mailto:davidz@redhat.com">davidz@redhat.com</a>&gt;</code>,
Richard Hughes <code class="email">&lt;<a class="email" href="mailto:richard@hughsie.com">richard@hughsie.com</a>&gt;</code> and with
a lot of help from many others.
</p>
</div>
<div class="refsect1" title="BUGS">
<a name="id2928611"></a><h2>BUGS</h2>
<div class="refsect1">
<a name="id429809"></a><h2>BUGS</h2>
<p>
Please send bug reports to either the distribution or the
DeviceKit mailing list,
......@@ -56,8 +56,8 @@
on how to subscribe.
</p>
</div>
<div class="refsect1" title="SEE ALSO">
<a name="id2920207"></a><h2>SEE ALSO</h2>
<div class="refsect1">
<a name="id392425"></a><h2>SEE ALSO</h2>
<p>
<span class="citerefentry"><span class="refentrytitle">PolicyKit</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">upowerd</span>(8)</span>,
......@@ -67,6 +67,6 @@
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.15</div>
Generated by GTK-Doc V1.17</div>
</body>
</html>
\ No newline at end of file