~thomas-voss/location-service/fix-1415029

« back to all changes in this revision

Viewing changes to src/location_service/com/ubuntu/location/service/daemon_main.cpp

Add an interface for querying settings by key.
Add an implementation leveraging boost::property_tree to provide settings. Fixes: #1362765
Approved by: Loïc Minier

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
    try
68
68
    {
69
69
        location::service::Daemon::main(config);
 
70
        config.settings->sync();
70
71
    } catch(const std::exception& e)
71
72
    {
72
73
        std::cout << "Problem executing the daemon: " << e.what() << std::endl;