X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Flocation.py;h=24e73a0cad537a6b484560446af5468469ddd168;hb=a1133bfb13b2e4924f0c196d20750832f6058c90;hp=0a4594be97e8849bad74d09aee9b352a88f95000;hpb=ad85e0608ea242356672fc011fe92ee3effb89e6;p=theonering diff --git a/src/location.py b/src/location.py index 0a4594b..24e73a0 100644 --- a/src/location.py +++ b/src/location.py @@ -1,11 +1,18 @@ import telepathy -class TheOneRingLocation(telepathy.server.ConnectionInterfaceLocation): +class LocationMixin(telepathy.server.ConnectionInterfaceLocation): def __init__(self): telepathy.server.ConnectionInterfaceLocation.__init__(self) + @property + def session(self): + """ + @abstract + """ + raise NotImplementedError() + def GetLocations(self, contacts): """ @returns {Contact: {Location Type: Location}}