4 #class LocationMixin(telepathy.server.ConnectionInterfaceLocation):
5 class LocationMixin(object):
8 #telepathy.server.ConnectionInterfaceLocation.__init__(self)
16 raise NotImplementedError()
18 def GetLocations(self, contacts):
20 @returns {Contact: {Location Type: Location}}
22 raise NotImplementedError()
24 def RequestLocation(self, contact):
26 @returns {Location Type: Location}
28 raise NotImplementedError()
30 def SetLocation(self, location):
32 Since presence is based off of phone numbers, not allowing the client to change it
34 raise telepathy.errors.PermissionDenied()