more import fixes

This commit is contained in:
Ari Lazier 2015-12-01 14:52:38 -08:00
parent 2974d87560
commit fb1d6b6a93
9 changed files with 31 additions and 14 deletions

View File

@ -2,12 +2,12 @@
* Proprietary and Confidential * Proprietary and Confidential
*/ */
#import "js_init.h" #include "js_init.h"
#import "js_realm.hpp" #include "js_realm.hpp"
#import "js_object.hpp" #include "js_object.hpp"
#import "js_util.hpp" #include "js_util.hpp"
#import "js_schema.hpp" #include "js_schema.hpp"
#import "platform.hpp" #include "platform.hpp"
#include "shared_realm.hpp" #include "shared_realm.hpp"
#include <algorithm> #include <algorithm>

View File

@ -2,6 +2,8 @@
* Proprietary and Confidential * Proprietary and Confidential
*/ */
#pragma once
#include <JavaScriptCore/JSBase.h> #include <JavaScriptCore/JSBase.h>
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -2,9 +2,11 @@
* Proprietary and Confidential * Proprietary and Confidential
*/ */
#import "js_util.hpp" #pragma once
#import "shared_realm.hpp"
#import "list.hpp" #include "js_util.hpp"
#include "shared_realm.hpp"
#include "list.hpp"
JSClassRef RJSListClass(); JSClassRef RJSListClass();
JSObjectRef RJSListCreate(JSContextRef ctx, realm::List &list); JSObjectRef RJSListCreate(JSContextRef ctx, realm::List &list);

View File

@ -2,7 +2,9 @@
* Proprietary and Confidential * Proprietary and Confidential
*/ */
#import "js_util.hpp" #pragma once
#include "js_util.hpp"
namespace realm { namespace realm {
class Object; class Object;

View File

@ -2,7 +2,9 @@
* Proprietary and Confidential * Proprietary and Confidential
*/ */
#import "js_util.hpp" #pragma once
#include "js_util.hpp"
#include <map> #include <map>
namespace realm { namespace realm {

View File

@ -2,7 +2,9 @@
* Proprietary and Confidential * Proprietary and Confidential
*/ */
#import "js_util.hpp" #pragma once
#include "js_util.hpp"
namespace realm { namespace realm {
class Realm; class Realm;

View File

@ -2,8 +2,10 @@
* Proprietary and Confidential * Proprietary and Confidential
*/ */
#import "js_util.hpp" #pragma once
#import <map>
#include "js_util.hpp"
#include <map>
namespace realm { namespace realm {
class Schema; class Schema;

View File

@ -3,6 +3,7 @@
*/ */
#include "js_util.hpp" #include "js_util.hpp"
#include <JavaScriptCore/JSStringRef.h>
using namespace realm; using namespace realm;

View File

@ -2,7 +2,11 @@
* Proprietary and Confidential * Proprietary and Confidential
*/ */
#pragma once
#include <JavaScriptCore/JSContextRef.h>
#include <JavaScriptCore/JSObjectRef.h> #include <JavaScriptCore/JSObjectRef.h>
#include <JavaScriptCore/JSStringRef.h>
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>