summaryrefslogtreecommitdiff
path: root/xml
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2010-12-01 19:47:01 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2011-01-10 19:34:02 +0000
commit02e3aed21485b375fda2d1c632074592b13263a8 (patch)
tree2c64b7a86254e39de93bded40cdc955046ff3b9f /xml
parent8e011b287da8f1b2319c8c947f636e87fda9f5c7 (diff)
downloadtelepathy-mission-control-02e3aed21485b375fda2d1c632074592b13263a8.tar.gz
Generate code for hidden account interfaces.
Diffstat (limited to 'xml')
-rw-r--r--xml/Account_Interface_Hidden.xml46
-rw-r--r--xml/Account_Manager_Interface_Hidden.xml101
-rw-r--r--xml/Makefile.am2
-rw-r--r--xml/nmc5.xml2
4 files changed, 151 insertions, 0 deletions
diff --git a/xml/Account_Interface_Hidden.xml b/xml/Account_Interface_Hidden.xml
new file mode 100644
index 00000000..54577337
--- /dev/null
+++ b/xml/Account_Interface_Hidden.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" ?>
+<node name="/Account_Interface_Hidden"
+ xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
+
+ <tp:copyright>Copyright © 2010 Collabora Ltd.</tp:copyright>
+ <tp:license xmlns="http://www.w3.org/1999/xhtml">
+ <p>This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.</p>
+
+ <p>This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.</p>
+
+ <p>You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.</p>
+ </tp:license>
+
+ <interface name="org.freedesktop.Telepathy.Account.Interface.Hidden.DRAFT1"
+ tp:causes-havoc="outrageous">
+ <tp:added version="0.21.UNRELEASED">(draft 1)</tp:added>
+
+ <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+ <p>
+ </p>
+ </tp:docstring>
+
+ <property name="Hidden" tp:name-for-bindings="Hidden"
+ type="b" access="read" tp:immutable='aye'>
+ <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+ <p>If <code>True</code>, this account is intended for non-interactive
+ use, and thus should not be presented to the user. It will not appear
+ in properties and signals on the main <tp:dbus-ref
+ namespace='ofdT'>AccountManager</tp:dbus-ref> interface; instead, it
+ will show up on <tp:dbus-ref
+ namespace='ofdT'>AccountManager.Interface.Hidden.DRAFT1</tp:dbus-ref>.</p>
+ </tp:docstring>
+ </property>
+
+ </interface>
+</node>
+<!-- vim:set sw=2 sts=2 et ft=xml: -->
diff --git a/xml/Account_Manager_Interface_Hidden.xml b/xml/Account_Manager_Interface_Hidden.xml
new file mode 100644
index 00000000..46c6d32b
--- /dev/null
+++ b/xml/Account_Manager_Interface_Hidden.xml
@@ -0,0 +1,101 @@
+<?xml version="1.0" ?>
+<node name="/Account_Manager_Interface_Hidden"
+ xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
+ <tp:copyright>Copyright © 2010 Collabora Ltd.</tp:copyright>
+ <tp:copyright>Copyright © 2010 Nokia Corporation</tp:copyright>
+ <tp:license xmlns="http://www.w3.org/1999/xhtml">
+<p>This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public
+License as published by the Free Software Foundation; either
+version 2.1 of the License, or (at your option) any later version.</p>
+
+<p>This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.</p>
+
+<p>You should have received a copy of the GNU Lesser General Public
+License along with this library; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+</p>
+ </tp:license>
+ <interface
+ name="org.freedesktop.Telepathy.AccountManager.Interface.Hidden.DRAFT1"
+ tp:causes-havoc='kind of sketchy'>
+ <tp:requires interface='org.freedesktop.Telepathy.AccountManager'/>
+ <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+ <p>This interface lists accounts whose <tp:dbus-ref
+ namespace='ofdT.Account.Interface.Hidden.DRAFT1'>Hidden</tp:dbus-ref>
+ property is <code>True</code>.</p>
+ </tp:docstring>
+ <tp:added version="0.21.UNRELEASED">first draft</tp:added>
+
+ <property name="ValidHiddenAccounts" type="ao" access="read"
+ tp:name-for-bindings="Valid_Hidden_Accounts">
+ <tp:docstring>
+ A list of valid (complete, usable) <tp:dbus-ref
+ namespace="org.freedesktop.Telepathy">Account</tp:dbus-ref>s intended
+ exclusively for noninteractive applications. These accounts are not
+ included in <tp:dbus-ref
+ namespace='ofdT'>AccountManager.ValidAccounts</tp:dbus-ref>. Change
+ notification is via
+ <tp:member-ref>HiddenAccountValidityChanged</tp:member-ref>.
+ </tp:docstring>
+ </property>
+
+ <property name="InvalidHiddenAccounts" type="ao" access="read"
+ tp:name-for-bindings="Invalid_Hidden_Accounts">
+ <tp:docstring>
+ A list of incomplete or otherwise unusable <tp:dbus-ref
+ namespace="org.freedesktop.Telepathy">Account</tp:dbus-ref>s intended
+ exclusively for noninteractive applications. Change notification is via
+ <tp:member-ref>HiddenAccountValidityChanged</tp:member-ref>.
+ </tp:docstring>
+ </property>
+
+ <signal name="HiddenAccountRemoved"
+ tp:name-for-bindings="Hidden_Account_Removed">
+ <tp:docstring>
+ The given account has been removed from
+ <tp:member-ref>ValidHiddenAccounts</tp:member-ref> or
+ <tp:member-ref>InvalidHiddenAccounts</tp:member-ref>.
+ </tp:docstring>
+
+ <arg name="Account" type="o">
+ <tp:docstring>
+ An Account, which must not be used any more.
+ </tp:docstring>
+ </arg>
+ </signal>
+
+ <signal name="HiddenAccountValidityChanged"
+ tp:name-for-bindings="Hidden_Account_Validity_Changed">
+ <tp:docstring>
+ The validity of the given account has changed. New magic
+ accounts are also indicated by this signal, as an account validity
+ change (usually to True) on an account that did not previously exist.
+
+ <tp:rationale>
+ This is effectively change notification for the valid and invalid
+ accounts lists.
+ </tp:rationale>
+ </tp:docstring>
+
+ <arg name="Account" type="o">
+ <tp:docstring>
+ An <tp:dbus-ref
+ namespace="org.freedesktop.Telepathy">Account</tp:dbus-ref>.
+ </tp:docstring>
+ </arg>
+
+ <arg name="Valid" type="b">
+ <tp:docstring>
+ True if the account is now valid.
+ </tp:docstring>
+ </arg>
+ </signal>
+
+ </interface>
+</node>
+<!-- vim:set sw=2 sts=2 et ft=xml: -->
+
diff --git a/xml/Makefile.am b/xml/Makefile.am
index 955b6d40..9ad98b0d 100644
--- a/xml/Makefile.am
+++ b/xml/Makefile.am
@@ -6,6 +6,7 @@ DROP_TPTYPE = sed -e 's@tp:type="[^"]*"@@g'
SPECS = \
Account_Manager.xml \
+ Account_Manager_Interface_Hidden.xml \
Account_Manager_Interface_Query.xml \
Account.xml \
Account_Interface_Avatar.xml \
@@ -13,6 +14,7 @@ SPECS = \
Account_Interface_ChannelRequests.xml \
Account_Interface_Compat.xml \
Account_Interface_Conditions.xml \
+ Account_Interface_Hidden.xml \
Account_Interface_Stats.xml \
Channel_Dispatch_Operation.xml \
Channel_Dispatcher.xml \
diff --git a/xml/nmc5.xml b/xml/nmc5.xml
index 9cf60fa5..7198cdc7 100644
--- a/xml/nmc5.xml
+++ b/xml/nmc5.xml
@@ -10,8 +10,10 @@
<xi:include href="Account_Interface_ChannelRequests.xml"/>
<xi:include href="Account_Interface_Compat.xml"/>
<xi:include href="Account_Interface_Conditions.xml"/>
+<xi:include href="Account_Interface_Hidden.xml"/>
<xi:include href="Account_Interface_Stats.xml"/>
<xi:include href="Account_Manager.xml"/>
+<xi:include href="Account_Manager_Interface_Hidden.xml"/>
<xi:include href="Account_Manager_Interface_Query.xml"/>
<xi:include href="Client.xml"/>