empty implementations for platform methods

This commit is contained in:
Ari Lazier 2015-12-08 14:18:30 -08:00
parent 8104738e1a
commit 1fa0098158
2 changed files with 24 additions and 0 deletions

23
src/android/platform.cpp Normal file
View File

@ -0,0 +1,23 @@
/* Copyright 2015 Realm Inc - All Rights Reserved
* Proprietary and Confidential
*/
#include "../platform.hpp"
#include <string>
namespace realm {
std::string default_realm_file_directory()
{
return std::string("");
}
void ensure_directory_exists_for_file(const std::string &fileName)
{
}
void remove_realm_files_from_directory(const std::string &directory)
{
}
}

View File

@ -18,6 +18,7 @@ LOCAL_SRC_FILES := \
src/js_object.cpp \ src/js_object.cpp \
src/js_schema.cpp \ src/js_schema.cpp \
src/rpc.cpp \ src/rpc.cpp \
src/android/platform.cpp \
src/object-store/index_set.cpp \ src/object-store/index_set.cpp \
src/object-store/list.cpp \ src/object-store/list.cpp \
src/object-store/object_schema.cpp \ src/object-store/object_schema.cpp \