diff options
author | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2010-08-31 19:33:37 +0200 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2010-08-31 19:33:37 +0200 |
commit | 92cc73e57e1c13b789c85d8de7da5ce22364c722 (patch) | |
tree | 61a1dd96c9e8b14f2dced1102d6bbf7c96e060f3 /fsotdld/src | |
parent | 625f0b31c87050692b0168bac97288ea42b1d2f9 (diff) | |
download | cornucopia-92cc73e57e1c13b789c85d8de7da5ce22364c722.tar.gz cornucopia-92cc73e57e1c13b789c85d8de7da5ce22364c722.tar.bz2 cornucopia-92cc73e57e1c13b789c85d8de7da5ce22364c722.zip |
fsotdld: register dbus object at location path
Diffstat (limited to 'fsotdld/src')
-rw-r--r-- | fsotdld/src/plugins/location/plugin.vala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fsotdld/src/plugins/location/plugin.vala b/fsotdld/src/plugins/location/plugin.vala index a964f1bf..0f2256d6 100644 --- a/fsotdld/src/plugins/location/plugin.vala +++ b/fsotdld/src/plugins/location/plugin.vala @@ -54,6 +54,10 @@ class Location.Service : FreeSmartphone.Location, FsoFramework.AbstractObject providers[ typ.name() ] = obj; } + subsystem.registerServiceName( FsoFramework.Time.ServiceDBusName ); + subsystem.registerServiceObject( FsoFramework.Time.ServiceDBusName, + FsoFramework.Time.LocationServicePath, this ); + logger.info( "Ready." ); Timeout.add_seconds( 2, () => { @@ -75,7 +79,7 @@ class Location.Service : FreeSmartphone.Location, FsoFramework.AbstractObject // private void onLocationUpdate( FsoTdl.ILocationProvider provider, HashTable<string,Value?> location ) { - debug( "got location update from %s", provider.repr() ); + logger.debug( @"Got location update from $(provider.get_type().name())" ); } } |