<?xml version="1.0" encoding="UTF-8"?>
<!--
A library to allow applictions to provide simple indications of
information to be displayed to users of the application through the
interface shell.

Copyright 2009 Canonical Ltd.

Authors:
    Ted Gould <ted@canonical.com>

This program is free software: you can redistribute it and/or modify it 
under the terms of either or both of the following licenses:

1) the GNU Lesser General Public License version 3, as published by the 
Free Software Foundation; and/or
2) the GNU Lesser General Public License version 2.1, as published by 
the Free Software Foundation.

This program is distributed in the hope that it will be useful, but 
WITHOUT ANY WARRANTY; without even the implied warranties of 
MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR 
PURPOSE.  See the applicable version of the GNU Lesser General Public 
License for more details.

You should have received a copy of both the GNU Lesser General Public 
License version 3 and version 2.1 along with this program.  If not, see 
<http://www.gnu.org/licenses/>
-->
<node name="/">
	<interface name="org.freedesktop.indicator">

<!-- Properties -->
		<property name="desktop" type="s" access="read"/>
		<property name="type" type="s" access="read"/>

<!-- Functions -->
		<method name="GetIndicatorCount">
			<arg type="u" name="indicator_count" direction="out" />
		</method>
		<method name="GetIndicatorCountByType">
			<arg type="s" name="type" direction="in" />
			<arg type="u" name="indicator_count" direction="out" />
		</method>
		<method name="GetIndicatorList">
			<arg type="ai" name="indicators" direction="out" />
		</method>
		<method name="GetIndicatorListByType">
			<arg type="s" name="type" direction="in" />
			<arg type="ai" name="indicators" direction="out" />
		</method>
		<method name="GetIndicatorProperty">
			<arg type="u" name="id" direction="in" />
			<arg type="s" name="property" direction="in" />
			<arg type="s" name="value" direction="out" />
		</method>
		<method name="GetIndicatorPropertyGroup">
			<arg type="u" name="id" direction="in" />
			<arg type="as" name="properties" direction="in" />
			<arg type="as" name="values" direction="out" />
		</method>
		<method name="GetIndicatorProperties">
			<arg type="u" name="id" direction="in" />
			<arg type="as" name="properties" direction="out" />
		</method>
		<method name="ShowIndicatorToUser">
			<arg type="u" name="id" direction="in" />
		</method>
		<method name="ShowInterest">
			<annotation name="org.freedesktop.DBus.GLib.Async" value="true" />
			<arg type="s" name="interest" direction="in" />
		</method>
		<method name="RemoveInterest">
			<annotation name="org.freedesktop.DBus.GLib.Async" value="true" />
			<arg type="s" name="interest" direction="in" />
		</method>


<!-- Signals -->
		<signal name="IndicatorAdded">
			<arg type="u" name="id" direction="out" />
			<arg type="s" name="type" direction="out" />
		</signal>
		<signal name="IndicatorRemoved">
			<arg type="u" name="id" direction="out" />
			<arg type="s" name="type" direction="out" />
		</signal>
		<signal name="IndicatorModified">
			<arg type="u" name="id" direction="out" />
			<arg type="s" name="property" direction="out" />
		</signal>
		<signal name="ServerShow">
			<arg type="s" name="type" direction="out" />
		</signal>
		<signal name="ServerHide">
			<arg type="s" name="type" direction="out" />
		</signal>


<!-- End of interesting stuff -->

	</interface>
</node>
