~thomas-voss/location-service/add-ichnaea-provider-next

Viewing all changes in revision 263.

  • Committer: Thomas Voß
  • Date: 2016-08-12 11:52:37 UTC
  • Revision ID: thomas.voss@canonical.com-20160812115237-wv1ahkydpfgog7xx
Simplify the location::Provider interface.

Move all state-machine semantics into the implementation and 
only expose a pure virtual interface for providers to implement.
Remove specific event-handlers and instead go fo an extensible location::Event 
with location::Provider extending on location::Event::Receiver. With that, we 
can easily extend events going forward in an ABI compatible way.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: