forked from organicmaps/organicmaps-tmp
[android] Fixed compilation issues
This commit is contained in:
parent
bc4c535f73
commit
67c21daaeb
3 changed files with 34 additions and 0 deletions
|
@ -17,6 +17,7 @@ LOCAL_HEADER_FILES := \
|
|||
com/mapswithme/core/render_context.hpp \
|
||||
com/mapswithme/maps/Framework.hpp \
|
||||
com/mapswithme/platform/Platform.hpp \
|
||||
com/mapswithme/platform/http_thread_android.hpp \
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
com/mapswithme/core/concurrent_runner.cpp \
|
||||
|
@ -32,6 +33,7 @@ LOCAL_SRC_FILES := \
|
|||
com/mapswithme/maps/MainGLView.cpp \
|
||||
com/mapswithme/maps/MWMActivity.cpp \
|
||||
com/mapswithme/platform/Platform.cpp \
|
||||
com/mapswithme/platform/http_thread_android.cpp \
|
||||
|
||||
LOCAL_LDLIBS := -llog -lGLESv1_CM \
|
||||
-lwords -lmap -lversion -lsearch -lstorage -lindexer -lyg -lplatform \
|
||||
|
|
25
android/jni/com/mapswithme/platform/http_thread_android.cpp
Normal file
25
android/jni/com/mapswithme/platform/http_thread_android.cpp
Normal file
|
@ -0,0 +1,25 @@
|
|||
#include "http_thread_android.hpp"
|
||||
|
||||
#include "../../../../../platform/http_thread_callback.hpp"
|
||||
|
||||
#include "../../../../../std/string.hpp"
|
||||
|
||||
// @TODO empty stub, add android implementation
|
||||
|
||||
namespace downloader
|
||||
{
|
||||
HttpThread * CreateNativeHttpThread(string const & url,
|
||||
downloader::IHttpThreadCallback & cb,
|
||||
int64_t beg,
|
||||
int64_t end,
|
||||
int64_t size,
|
||||
string const & pb)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void DeleteNativeHttpThread(HttpThread * request)
|
||||
{
|
||||
}
|
||||
|
||||
} // namespace downloader
|
|
@ -0,0 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "../../../../../std/stdint.hpp"
|
||||
|
||||
class HttpThread
|
||||
{
|
||||
};
|
Loading…
Add table
Reference in a new issue