summaryrefslogtreecommitdiff
path: root/xml
diff options
context:
space:
mode:
authorVivek Dasmohapatra <vivek@collabora.co.uk>2010-04-19 13:55:17 +0100
committerVivek Dasmohapatra <vivek@collabora.co.uk>2010-05-10 13:48:52 +0100
commitc78decfb9156e20fe423e0121ca3ae2400d82005 (patch)
tree00ff63d29c49212a0584b4e9bf745b0237407375 /xml
parentfde2102e92081645bcb71a88ae0d4aaee061e47b (diff)
downloadtelepathy-mission-control-c78decfb9156e20fe423e0121ca3ae2400d82005.tar.gz
Generate headers and code for the new SSO properties interface.
Diffstat (limited to 'xml')
-rw-r--r--xml/Account_Interface_Sso.xml43
-rw-r--r--xml/Account_Manager_Interface_Sso.xml68
-rw-r--r--xml/nmc5.xml2
3 files changed, 113 insertions, 0 deletions
diff --git a/xml/Account_Interface_Sso.xml b/xml/Account_Interface_Sso.xml
new file mode 100644
index 00000000..ea980acc
--- /dev/null
+++ b/xml/Account_Interface_Sso.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<node name="/Account_Sso"
+ xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
+ <tp:copyright>Copyright © 2010 Nokia Corporation</tp:copyright>
+ <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="com.nokia.Telepathy.Account.Sso">
+ <tp:requires interface="org.freedesktop.Telepathy.Account"/>
+
+ <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+ <p>An interface that holds Maemo SSO specific properties</p>
+ </tp:docstring>
+
+ <property name="ID" tp:name-for-bindings="ID" type="u" access="read">
+ <tp:docstring><p>The SSO ID of this account</p></tp:docstring>
+ </property>
+
+ <property name="Service" type="s" access="read"
+ tp:name-for-bindings="Service">
+ <tp:docstring><p>The SSO Service of this account</p></tp:docstring>
+ </property>
+
+ </interface>
+</node> \ No newline at end of file
diff --git a/xml/Account_Manager_Interface_Sso.xml b/xml/Account_Manager_Interface_Sso.xml
new file mode 100644
index 00000000..3d945fcb
--- /dev/null
+++ b/xml/Account_Manager_Interface_Sso.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<node name="/Account_Manager_Telepathy_Sso"
+ xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
+ <tp:copyright>Copyright © 2010 Nokia Corporation</tp:copyright>
+ <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="com.nokia.Telepathy.AccountManager.Sso">
+ <tp:requires interface="org.freedesktop.Telepathy.AccountManager"/>
+ <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+ <p>
+ The Sso interface provides methods to list Maemo SSO accounts
+ and find accounts by their Maemo SSO ID.
+ </p>
+ </tp:docstring>
+
+ <method name="GetServiceAccounts"
+ tp:name-for-bindings="Get_Service_Accounts">
+ <tp:docstring xmlns="http://www.w32.org/1999/xhtml">
+ <p>List all accounts which match the service parameter</p>
+ </tp:docstring>
+
+ <arg direction="in" name="Service" type="s">
+ <tp:docstring>
+ <p>The name of the SSO service which this account should match</p>
+ </tp:docstring>
+ </arg>
+
+ <arg direction="out" name="Accounts" type="ao">
+ <tp:docstring>A list of accounts which match the service</tp:docstring>
+ </arg>
+ </method>
+
+ <method name="GetAccount" tp:name-for-bindings="Get_Account">
+ <tp:docstring xmlns="http://www.w32.org/1999/xhtml">
+ <p>Find an account by its SSO ID</p>
+ </tp:docstring>
+
+ <arg direction="in" name="ID" type="s">
+ <tp:docstring><p>SSO Account ID</p></tp:docstring>
+ </arg>
+
+ <arg direction="out" name="Account" type="o">
+ <tp:docstring>The account that matches the service</tp:docstring>
+ </arg>
+ </method>
+
+ </interface>
+</node>
+
diff --git a/xml/nmc5.xml b/xml/nmc5.xml
index ca81a005..8ce80860 100644
--- a/xml/nmc5.xml
+++ b/xml/nmc5.xml
@@ -10,8 +10,10 @@
<xi:include href="Account_Interface_Compat.xml"/>
<xi:include href="Account_Interface_Conditions.xml"/>
<xi:include href="Account_Interface_Stats.xml"/>
+<xi:include href="Account_Interface_Sso.xml"/>
<xi:include href="Account_Manager.xml"/>
<xi:include href="Account_Manager_Interface_Query.xml"/>
+<xi:include href="Account_Manager_Interface_Sso.xml"/>
<xi:include href="Client.xml"/>
<xi:include href="Client_Approver.xml"/>