From 2c7d0567fa7a2b342b16a5ecea5290aee32aaa77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Sun, 17 May 2015 00:10:14 -0700 Subject: Privatized MGLMapboxEvents MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `-pauseMetricsCollection` and `-resumeMetricsCollection` were originally introduced to mitigate concerns around battery usage, but `MGLMapboxEvents` has since evolved to tread much lighter on the battery. There’s no longer any need for the client to call these methods directly. The iOS test project now includes MGLMapboxEvents.h explicitly to avoid having to package a header that will go unused. --- gyp/platform-ios.gypi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gyp') diff --git a/gyp/platform-ios.gypi b/gyp/platform-ios.gypi index 0e200f5e1d..0034831a91 100644 --- a/gyp/platform-ios.gypi +++ b/gyp/platform-ios.gypi @@ -18,8 +18,7 @@ '../platform/darwin/nsthread.mm', '../platform/darwin/reachability.m', '../include/mbgl/ios/MapboxGL.h', - '../include/mbgl/ios/MGLMapboxEvents.h', - '../platform/ios/MGLMapboxEvents_Private.h', + '../platform/ios/MGLMapboxEvents.h', '../platform/ios/MGLMapboxEvents.m', '../include/mbgl/ios/MGLMapView.h', '../include/mbgl/ios/MGLMapView+IBAdditions.h', -- cgit v1.2.1