| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/python2.6/site-packages/telepathy/_generated/ |
Upload File : |
Ñò
L7‹Jc @ s2 d Z d d k Z d e i i f d „ ƒ YZ d S( s Copyright (C) 2008 Collabora Ltd.
Copyright (C) 2008 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.
iÿÿÿÿNt ConnectionInterfaceLocationc B s e Z d Z d „ Z e i i d d d d d ƒd „ ƒ Z e i i d d d d d ƒd
„ ƒ Z e i i d d d d d ƒd „ ƒ Z e i i
d d
d ƒd „ ƒ Z RS( sú An interface on connections to support protocols which allow users to
publish their current geographical location, and subscribe to the
current location of their contacts.
This interface is geared strongly towards automatic propagation and
use of this information, so focuses on latitude, longitude and
altitude which can be determined by GPS, although provision is also
included for an optional human-readable description of locations. All
co-ordinate information is required to be relative to the WGS84
datum.
The information published through this interface is intended to have
the same scope as presence information, so will normally be made
available to those individuals on the user's "publish" contact list.
Even so, user interfaces should not automatically publish location
information without the consent of the user, and it is recommended
that an option is made available to reduce the accuracy of the
reported information to allow the user to maintain their privacy.
Location information is represented using the terminology of XMPP's
XEP-0080
or the XEP-0080-derived
Geoclue API where
possible.
c C s | i i d ƒ d S( Ns7 org.freedesktop.Telepathy.Connection.Interface.Location( t _interfacest add( t self( ( sV /usr/lib/python2.6/site-packages/telepathy/_generated/Connection_Interface_Location.pyt __init__5 s s7 org.freedesktop.Telepathy.Connection.Interface.Locationt in_signaturet aut
out_signatures a{ua{sv}}c C s
t ‚ d S( sZ
Return the current locations of the given contacts, if they are
already known. If any of the given contacts' locations are not known,
request their current locations, but return immediately without waiting
for a reply; if a reply with a non-empty location is later received
for those contacts, the LocationUpdated
signal will be emitted for them.
This method is appropriate for "lazy" location finding, for instance
displaying the location (if available) of everyone in your contact
list.
N( t NotImplementedError( R t Contacts( ( sV /usr/lib/python2.6/site-packages/telepathy/_generated/Connection_Interface_Location.pyt GetLocations8 s t us a{sv}c C s
t ‚ d S( sÇ
Return the current location of the given contact. If necessary, make
a request to the server for up-to-date information, and wait for a
reply.
This method is appropriate for use in a "Contact Information..."
dialog; it can be used to show progress information (while waiting
for the method to return), and can distinguish between various error
conditions.
N( R ( R t Contact( ( sV /usr/lib/python2.6/site-packages/telepathy/_generated/Connection_Interface_Location.pyt RequestLocationK s t c C s
t ‚ d S( s;
Set the local user's own location.
N( R ( R t Location( ( sV /usr/lib/python2.6/site-packages/telepathy/_generated/Connection_Interface_Location.pyt SetLocation\ s t signatures ua{sv}c C s d S( sT
Emitted when a contact's location changes or becomes known.
N( ( R R R ( ( sV /usr/lib/python2.6/site-packages/telepathy/_generated/Connection_Interface_Location.pyt LocationUpdatedd s ( t __name__t
__module__t __doc__R t dbust servicet methodR
R
R t signalR ( ( ( sV /usr/lib/python2.6/site-packages/telepathy/_generated/Connection_Interface_Location.pyR s '''( R t dbus.serviceR R t InterfaceR ( ( ( sV /usr/lib/python2.6/site-packages/telepathy/_generated/Connection_Interface_Location.pyt <module> s