Bug 12220 - Backend object-orientation is a bit broken
Summary: Backend object-orientation is a bit broken
Status: RESOLVED FIXED
Alias: None
Product: GeoClue
Classification: Unclassified
Component: Backends (obsolete) (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Jussi Kukkonen [inactive]
QA Contact: GeoClue
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-30 05:58 UTC by Jussi Kukkonen [inactive]
Modified: 2008-03-10 13:37 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jussi Kukkonen [inactive] 2007-08-30 05:58:47 UTC
Currently all included position backends define a gobject object GeocluePosition. All of those objects are different even though the name is same... 

We should have a interface that defines a "Position provider" and then objects, e.g. "Plazes Position Provider" that implement the interface. This would probably be beneficial in situations when API is changed (as backends would no longer compile if they did not implement interface).

Following the current naming the interface could be GeoclueIPosition and the implementations would be e.g. GeocluePositionPlazes
Comment 1 Jussi Kukkonen [inactive] 2008-03-10 13:37:09 UTC
Implemented during the last two months


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.