[Telepathy-commits] [telepathy-python/master] conn.py: remove ConnectionInterfacePrivacy
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Mon Aug 25 06:55:58 PDT 2008
---
src/server/conn.py | 31 -------------------------------
1 files changed, 0 insertions(+), 31 deletions(-)
diff --git a/src/server/conn.py b/src/server/conn.py
index 1f934dd..7b133bc 100644
--- a/src/server/conn.py
+++ b/src/server/conn.py
@@ -33,7 +33,6 @@ from telepathy.interfaces import (CONN_INTERFACE,
CONN_INTERFACE_AVATARS,
CONN_INTERFACE_CAPABILITIES,
CONN_INTERFACE_PRESENCE,
- CONN_INTERFACE_PRIVACY,
CONN_INTERFACE_RENAMING)
from telepathy.server.handle import Handle
@@ -340,35 +339,5 @@ class ConnectionInterfaceCapabilities(_ConnectionInterfaceCapabilities):
from telepathy._generated.Connection_Interface_Presence \
import ConnectionInterfacePresence
-
-from telepathy._generated.Connection_Interface_Privacy \
- import ConnectionInterfacePrivacy \
- as _ConnectionInterfacePrivacy
-
-class ConnectionInterfacePrivacy(_ConnectionInterfacePrivacy):
- def __init__(self, modes):
- """
- Initialise privacy interface.
-
- Parameters:
- modes - a list of privacy modes available on this interface
- """
- _ConnectionInterfacePrivacy.__init__(self)
- self._privacy_mode = ''
- self._privacy_modes = modes
-
- @dbus.service.method(CONN_INTERFACE_PRIVACY, in_signature='', out_signature='as')
- def GetPrivacyModes(self):
- return self._privacy_modes
-
- @dbus.service.method(CONN_INTERFACE_PRIVACY, in_signature='', out_signature='s')
- def GetPrivacyMode(self):
- return self._privacy_mode
-
- @dbus.service.signal(CONN_INTERFACE_PRIVACY, signature='s')
- def PrivacyModeChanged(self, mode):
- self._privacy_mode = mode
-
-
from telepathy._generated.Connection_Interface_Renaming \
import ConnectionInterfaceRenaming
--
1.5.6.3
More information about the Telepathy-commits
mailing list