summaryrefslogtreecommitdiff
path: root/macosx
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-09-15 17:26:44 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-09-24 16:14:09 +0200
commitd9fc7708a2dfb6e2506a5d10d896a813557c056d (patch)
tree50b2dba9e0a8766c88f7c276a8f71742a06a1d67 /macosx
parent062e911c6d570a794431023f9f0cb0b02cd85667 (diff)
downloadqtlocation-mapboxgl-d9fc7708a2dfb6e2506a5d10d896a813557c056d.tar.gz
do 304 requests and cache them in sqlite
Diffstat (limited to 'macosx')
-rw-r--r--macosx/main.mm3
-rw-r--r--macosx/mapboxgl-app.gyp3
2 files changed, 4 insertions, 2 deletions
diff --git a/macosx/main.mm b/macosx/main.mm
index 9ecc307c05..7f22a32cc2 100644
--- a/macosx/main.mm
+++ b/macosx/main.mm
@@ -4,6 +4,8 @@
#import <Foundation/Foundation.h>
+#include <uv.h>
+
@interface URLHandler : NSObject
@property (nonatomic) mbgl::Map *map;
@@ -68,6 +70,7 @@
@end
int main() {
+ fprintf(stderr, "main thread: 0x%lx\n", uv_thread_self());
mbgl::Log::Set<mbgl::NSLogBackend>();
GLFWView view;
diff --git a/macosx/mapboxgl-app.gyp b/macosx/mapboxgl-app.gyp
index da5c68ea35..f673d68f0f 100644
--- a/macosx/mapboxgl-app.gyp
+++ b/macosx/mapboxgl-app.gyp
@@ -15,8 +15,7 @@
'../common/platform_nsstring.mm',
'../common/glfw_view.hpp',
'../common/glfw_view.cpp',
- '../common/foundation_request.h',
- '../common/foundation_request.mm',
+ '../src/storage/http_request_baton_darwin.mm',
'../common/nslog_log.hpp',
'../common/nslog_log.mm',
],