Navigation Menu

Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
[iOS] remove private header file from eagle_bridge.h
Browse files Browse the repository at this point in the history
  • Loading branch information
jianhan-he committed May 7, 2019
1 parent f6171bf commit 01578bb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ios/sdk/WeexSDK.xcodeproj/project.pbxproj
Expand Up @@ -2935,7 +2935,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = ". \"${PROJECT_DIR}/buildScripts.sh\"\n\ngenerateSDKHeader 'WeexSDK' 'eagle_bridge.h'\ngenerateBuildTime \"${PROJECT_DIR}/WeexSDK/Sources/Utility/WXVersion.m\"\n";
shellScript = ". \"${PROJECT_DIR}/buildScripts.sh\"\n\ngenerateSDKHeader 'WeexSDK'\ngenerateBuildTime \"${PROJECT_DIR}/WeexSDK/Sources/Utility/WXVersion.m\"\n";
};
DCA445C81EFA584000D0CFA8 /* Generate WeexSDK.h */ = {
isa = PBXShellScriptBuildPhase;
Expand Down
1 change: 1 addition & 0 deletions ios/sdk/WeexSDK/Sources/WeexSDK.h
Expand Up @@ -22,6 +22,7 @@
#import "style.h"
#import "layout.h"
#import "flex_enum.h"
#import "eagle_bridge.h"
#import "WXWebSocketHandler.h"
#import "WXVoiceOverModule.h"
#import "WXView.h"
Expand Down
10 changes: 5 additions & 5 deletions weex_core/Source/core/bridge/eagle_bridge.h
Expand Up @@ -23,9 +23,9 @@
#if defined __cplusplus
#include <string>
#include <functional>
#include "include/WeexApiHeader.h"
#include "base/closure.h"
#include <set>

struct ValueWithType;
namespace WeexCore {
class RenderObject;
class DataRenderHandler;
Expand Down Expand Up @@ -103,12 +103,12 @@ namespace WeexCore {

int ExecJS(const char *instanceId, const char *nameSpace,
const char *func,
std::vector<VALUE_WITH_TYPE *> &params);
void PostTaskToMsgLoop(const weex::base::Closure& closure);
std::vector<struct ValueWithType *> &params);
void PostTaskToMsgLoop(const std::function<void()>& closure);
#if OS_IOS
std::unique_ptr<ValueWithType> RegisterPluginModule(const std::string &name, const std::string &class_name, const std::string &version);
std::unique_ptr<ValueWithType> RegisterPluginComponent(const std::string &name, const std::string &class_name, const std::string &version);
void PostTaskOnComponentThread(const weex::base::Closure& closure);
void PostTaskOnComponentThread(const std::function<void()>& closure);
#endif
};

Expand Down

0 comments on commit 01578bb

Please sign in to comment.