diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2015-05-08 16:43:50 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2015-05-12 01:36:56 -0700 |
commit | f860169f356af37536443d8f23e8ccd610c21eb9 (patch) | |
tree | 15c76dc99f0e46809cb1e318df5368b1b72418f6 /gyp | |
parent | 60ed9e6d2ebdeef233cb6891a26f5b24e0efaaef (diff) | |
download | qtlocation-mapboxgl-f860169f356af37536443d8f23e8ccd610c21eb9.tar.gz |
Refactored MGLMapboxEvents for better data management
The shared `MGLMapboxEvents` now owns the only instance of `MGLMetricsLocationManager`. It also owns a `MGLMapboxEventsData` object, to which all user-specific data has been relegated. This object can be built up and torn down on the fly, whenever the opt-out preference is toggled. `MGLMapboxEvents` has also given up knowledge of the access token and now queries `MGLAccountManager` for that information, which `MGLMapView` keeps up-to-date.
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/platform-ios.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gyp/platform-ios.gypi b/gyp/platform-ios.gypi index 1f96f94702..81c73975a5 100644 --- a/gyp/platform-ios.gypi +++ b/gyp/platform-ios.gypi @@ -19,6 +19,7 @@ '../platform/darwin/reachability.m', '../include/mbgl/ios/MapboxGL.h', '../include/mbgl/ios/MGLMapboxEvents.h', + '../platform/ios/MGLMapboxEvents_Private.h', '../platform/ios/MGLMapboxEvents.m', '../include/mbgl/ios/MGLMapView.h', '../include/mbgl/ios/MGLMapView+IBAdditions.h', |