From eeb62ec9f8c559dbca64a9d8aced3312e2ff4760 Mon Sep 17 00:00:00 2001 From: Chandni Verma Date: Tue, 22 Jan 2013 15:23:16 +0530 Subject: [PATCH] Add extra interface for ChannelDispatcher to manage DisabledHandlers --- ...annel_Dispatcher_Interface_HandlerSelection.xml | 86 ++++++++++++++++++++ xml/Makefile.am | 3 +- 2 files changed, 88 insertions(+), 1 deletion(-) create mode 100644 xml/Channel_Dispatcher_Interface_HandlerSelection.xml diff --git a/xml/Channel_Dispatcher_Interface_HandlerSelection.xml b/xml/Channel_Dispatcher_Interface_HandlerSelection.xml new file mode 100644 index 0000000..7245798 --- /dev/null +++ b/xml/Channel_Dispatcher_Interface_HandlerSelection.xml @@ -0,0 +1,86 @@ + + + + Copyright (C) 2011 Collabora Ltd. + Copyright (C) 2011 Nokia Corporation + +

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.

+ +

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.

+ +

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.

+
+ + + + + + +

+ This interface allows DBus clients to specify which handlers are to + be used and which are to be disabled. The Channel Dispatcher maintains a list + of forbidden handlers: DisabledHandlers which + is a list of handlers that the user has explicitly requested to be avoided. +

+
+ + + + A list of handlers to be avoided. + + + + + +

Add or remove the specified handler client from the list of + DisabledHandlers.

+
+ + + + The bus-name of client which has to be disabled/enabled. + + + + + +

Whether this client-handler has to be forbidden or not.

+
+
+ + + + + The Client_Handler is syntactically invalid or does + not start with org.freedesktop.Telepathy.Client. + + + + +
+ + + + A DBus_Well_Known_Name, starting with + org.freedesktop.Telepathy.Client. followed by a unique name + specifying the handler. + + + +
+
+ diff --git a/xml/Makefile.am b/xml/Makefile.am index 50ef1d5..14da43b 100644 --- a/xml/Makefile.am +++ b/xml/Makefile.am @@ -10,7 +10,8 @@ SPECS = \ Account_Interface_External_Password_Storage.xml \ Account_Interface_Hidden.xml \ Connection_Manager_Interface_Account_Storage.xml \ - Channel_Dispatcher_Interface_Messages_DRAFT.xml + Channel_Dispatcher_Interface_Messages_DRAFT.xml \ + Channel_Dispatcher_Interface_HandlerSelection.xml SPECS_GEN = ${SPECS:%.xml=_gen/introspect-%.xml} -- 1.7.9.5