Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2011-10-25 19:48:41 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:26:45 +0300
commit944e5e488a7d173baaa2e30d1cc3722f13e25914 (patch)
tree4575ad8e6d38df3c6e48deb69ff860368760bbac /platform/platform.pro
parentaf29f99ecacd7b4c456e5daba8d4cc1afd8a4f37 (diff)
Common Downloader code now is used on iOS and Mac OS X platforms
Diffstat (limited to 'platform/platform.pro')
-rw-r--r--platform/platform.pro23
1 files changed, 16 insertions, 7 deletions
diff --git a/platform/platform.pro b/platform/platform.pro
index 495d672a96..186f3ad740 100644
--- a/platform/platform.pro
+++ b/platform/platform.pro
@@ -9,20 +9,16 @@ DEPENDENCIES = coding base jansson
include($$ROOT_DIR/common.pri)
-QT *= core network
-
!iphone*:!android*:!bada {
+ QT *= core network
+
INCLUDEPATH += $$ROOT_DIR/3party/jansson/src
SOURCES += platform_qt.cpp \
wifi_location_service.cpp \
- qt_download_manager.cpp \
- qt_download.cpp \
qt_concurrent_runner.cpp \
location_service.cpp
- HEADERS += qt_download_manager.hpp \
- qt_download.hpp \
- wifi_info.hpp \
+ HEADERS += wifi_info.hpp \
location_service.hpp
win32* {
SOURCES += platform_win.cpp \
@@ -43,6 +39,19 @@ QT *= core network
SOURCES += platform_android.cpp
}
+macx*|iphone* {
+ HEADERS += apple_download.h
+ OBJECTIVE_SOURCES += apple_download.mm \
+ apple_download_manager.mm
+}
+
+win32*|linux* {
+ HEADERS += qt_download_manager.hpp \
+ qt_download.hpp
+ SOURCES += qt_download_manager.cpp \
+ qt_download.cpp
+}
+
# common sources for all platforms
HEADERS += \