add .gitignore
This commit is contained in:
84
msext/Class/RootVC/Bridge.h
Executable file
84
msext/Class/RootVC/Bridge.h
Executable file
@@ -0,0 +1,84 @@
|
||||
//
|
||||
// Bridge.h
|
||||
// JS_OC_Call
|
||||
//
|
||||
// Created by 亮亮 on 16/9/7.
|
||||
// Copyright © 2016年 钱袋宝. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <JavaScriptCore/JavaScriptCore.h>
|
||||
@protocol webURLDelegate <NSObject>
|
||||
-(void)backgameData:(NSString *)data;
|
||||
-(void)opensaoma; // 扫一扫
|
||||
-(void)startlocation:(NSString *)Type; //定位
|
||||
-(void)prepareaudio;
|
||||
-(void)startshake;
|
||||
-(void)stopshake;
|
||||
-(int)getcompareCode;
|
||||
-(NSString *)getchannelName;
|
||||
-(double)getbattery;
|
||||
-(int)getnetwork;
|
||||
-(void)SwitchShake:(NSString *)voice;
|
||||
-(void)media:(NSString *)url Type:(NSString *)history Audio:(NSString *)userid;
|
||||
|
||||
-(void)vibrator:(NSString *)time;
|
||||
-(void)repeatvibrator:(NSString *)repeat;
|
||||
-(void)canclevibrator;
|
||||
-(void)friends:(NSString *)one Sharetype:(NSString *)two Url:(NSString *)three Toptitle:(NSString *)four Descript:(NSString *)five;
|
||||
|
||||
-(void)accreditlogin;
|
||||
-(void)browser:(NSString *)url;
|
||||
-(void)src:(NSString *)message Isloop:(NSString *)message2;
|
||||
-(void)Switch:(NSString *)type Over:(NSString *)directory Game:(NSString *)downurl Data:(NSString *)data;
|
||||
-(int)getGameinstall:(NSString *)gamename;
|
||||
-(void)getGameplay:(NSString *)jsondata;
|
||||
-(void)Openurl:(NSString *)url Title:(NSString *)title Data:(NSString *)data;
|
||||
-(NSString *)getmarketname;
|
||||
-(NSString *)gamepastetext;
|
||||
-(void)gameCopytext:(NSString *)text;
|
||||
-(NSString *)getOther;
|
||||
-(NSString *)getothername:(NSString *)othername;
|
||||
-(void)voicePlaying:(NSString *)type;
|
||||
-(void)finishweb;
|
||||
@end
|
||||
@protocol JSProtocol <JSExport>
|
||||
-(void)backgameData:(NSString *)data;
|
||||
-(void)opensaoma; // 扫一扫
|
||||
-(void)startlocation:(NSString *)Type; //定位
|
||||
-(void)prepareaudio;
|
||||
-(void)startshake;
|
||||
-(void)stopshake;
|
||||
-(int)getcompareCode;
|
||||
-(NSString *)getchannelName;
|
||||
-(double)getbattery;
|
||||
-(int)getnetwork;
|
||||
-(void)SwitchShake:(NSString *)voice;
|
||||
-(void)media:(NSString *)url Type:(NSString *)history Audio:(NSString *)userid;
|
||||
|
||||
-(void)vibrator:(NSString *)time;
|
||||
-(void)repeatvibrator:(NSString *)repeat;
|
||||
-(void)canclevibrator;
|
||||
-(void)friends:(NSString *)one Sharetype:(NSString *)two Url:(NSString *)three Toptitle:(NSString *)four Descript:(NSString *)five;
|
||||
|
||||
-(void)accreditlogin;
|
||||
-(void)browser:(NSString *)url;
|
||||
-(void)src:(NSString *)message Isloop:(NSString *)message2;
|
||||
-(void)Switch:(NSString *)type Over:(NSString *)directory Game:(NSString *)downurl Data:(NSString *)data;
|
||||
-(int)getGameinstall:(NSString *)gamename;
|
||||
-(void)getGameplay:(NSString *)jsondata;
|
||||
-(void)Openurl:(NSString *)url Title:(NSString *)title Data:(NSString *)data;
|
||||
-(NSString *)getmarketname;
|
||||
-(NSString *)gamepastetext;
|
||||
-(void)gameCopytext:(NSString *)text;
|
||||
-(NSString *)getOther;
|
||||
-(NSString *)getothername:(NSString *)othername;
|
||||
-(void)voicePlaying:(NSString *)type;
|
||||
-(void)finishweb;
|
||||
@end
|
||||
@interface Bridge : NSObject<JSProtocol>
|
||||
{
|
||||
id<webURLDelegate> delegate;
|
||||
}
|
||||
@property (nonatomic ,retain)id<webURLDelegate> delegate;
|
||||
@end
|
||||
Reference in New Issue
Block a user