diff options
author | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2011-02-15 15:05:44 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-04-08 18:41:27 +0800 |
commit | 6cfbc49159c2462232eefc314dcee11d1ea25da1 (patch) | |
tree | 58c793b7ab15e6d03ba6a460b05ab8f6bca61287 | |
parent | 7b65bf4d60c158d0d4e164972db42e68395a106e (diff) | |
download | gsoc2013-empathy-6cfbc49159c2462232eefc314dcee11d1ea25da1.tar gsoc2013-empathy-6cfbc49159c2462232eefc314dcee11d1ea25da1.tar.gz gsoc2013-empathy-6cfbc49159c2462232eefc314dcee11d1ea25da1.tar.bz2 gsoc2013-empathy-6cfbc49159c2462232eefc314dcee11d1ea25da1.tar.lz gsoc2013-empathy-6cfbc49159c2462232eefc314dcee11d1ea25da1.tar.xz gsoc2013-empathy-6cfbc49159c2462232eefc314dcee11d1ea25da1.tar.zst gsoc2013-empathy-6cfbc49159c2462232eefc314dcee11d1ea25da1.zip |
Add Psyke PrivacySettings extension
-rw-r--r-- | extensions/Connection_Interface_Privacy_Settings.xml | 114 | ||||
-rw-r--r-- | extensions/Makefile.am | 1 | ||||
-rw-r--r-- | extensions/misc.xml | 1 |
3 files changed, 116 insertions, 0 deletions
diff --git a/extensions/Connection_Interface_Privacy_Settings.xml b/extensions/Connection_Interface_Privacy_Settings.xml new file mode 100644 index 000000000..50e8cb95e --- /dev/null +++ b/extensions/Connection_Interface_Privacy_Settings.xml @@ -0,0 +1,114 @@ +<?xml version="1.0" ?> +<node name="/Connection_Interface_Privacy_Settings" + 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"> +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 +Library 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. + </tp:license> + + <interface + name="uk.co.Collabora.Telepathy.Psyke.Connection.Interface.PrivacySettings"> + + <tp:docstring> + Privacy Setting Connection properties for telepathy-psyke. + </tp:docstring> + + <tp:enum name="Privacy_Setting" type="u" + value_prefix="Privacy_Setting"> + <tp:docstring> + Ordering of these values in SkypeKit is inconsistent. Always switch + for the values you want. + </tp:docstring> + + <tp:enumvalue suffix="Nobody" value="0"> + <tp:docstring> + No users (not available for all properties). + </tp:docstring> + </tp:enumvalue> + <tp:enumvalue suffix="Contacts" value="1"> + <tp:docstring> + Users on the contact list. + </tp:docstring> + </tp:enumvalue> + <tp:enumvalue suffix="Anyone" value="2"> + <tp:docstring> + All users. + </tp:docstring> + </tp:enumvalue> + <tp:enumvalue suffix="Known_Numbers" value="3"> + <tp:docstring> + Known numbers (not available for all properties). + </tp:docstring> + </tp:enumvalue> + </tp:enum> + + <property name="AllowTextChannelsFrom" + tp:name-for-bindings="Allow_Text_Channels_From" + type="u" tp:type="Privacy_Setting" + access="readwrite"> + <tp:docstring> + From whom to allow incoming Text channels. + </tp:docstring> + </property> + + <property name="AllowCallChannelsFrom" + tp:name-for-bindings="Allow_Call_Channels_From" + type="u" tp:type="Privacy_Setting" + access="readwrite"> + <tp:docstring> + From whom to allow incoming Call channels. + </tp:docstring> + </property> + + <!-- FIXME: this property is difficult to implement, disable for now + <property name="AllowVideoFrom" + tp:name-for-bindings="Allow_Video_From" + type="u" tp:type="Privacy_Setting" + access="readwrite"> + <tp:docstring> + From whom to automatically enable video. + </tp:docstring> + </property> + --> + + <property name="AllowOutsideCallsFrom" + tp:name-for-bindings="Allow_Outside_Calls_From" + type="u" tp:type="Privacy_Setting" + access="readwrite"> + <tp:docstring> + From whom to receive outside calls. + </tp:docstring> + </property> + + <property name="ShowMyAvatarTo" + tp:name-for-bindings="Show_My_Avatar_To" + type="u" tp:type="Privacy_Setting" + access="readwrite"> + <tp:docstring> + To whom to show my avatar. + </tp:docstring> + </property> + + <property name="ShowMyWebStatus" + tp:name-for-bindings="Show_My_Web_Status" + type="b" access="readwrite"> + <tp:docstring> + Whether or not to show my status on the web. + </tp:docstring> + </property> + + </interface> + +</node> diff --git a/extensions/Makefile.am b/extensions/Makefile.am index 30adce0da..c4a592a45 100644 --- a/extensions/Makefile.am +++ b/extensions/Makefile.am @@ -17,6 +17,7 @@ EXTRA_DIST = \ Authentication_TLS_Certificate.xml \ Channel_Interface_Credentials_Storage.xml \ Channel_Type_Server_TLS_Connection.xml \ + Connection_Interface_Privacy_Settings.xml \ $(NULL) noinst_LTLIBRARIES = libemp-extensions.la diff --git a/extensions/misc.xml b/extensions/misc.xml index 6a137ef06..524ac6513 100644 --- a/extensions/misc.xml +++ b/extensions/misc.xml @@ -9,5 +9,6 @@ <xi:include href="Authentication_TLS_Certificate.xml" /> <xi:include href="Channel_Interface_Credentials_Storage.xml" /> <xi:include href="Channel_Type_Server_TLS_Connection.xml" /> +<xi:include href="Connection_Interface_Privacy_Settings.xml" /> </tp:spec> |