forked from jfmoy/Fraise
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Got rid of JavaScriptContext and replaced it with JSCocoa
- Loading branch information
Chris Marrin
committed
Sep 28, 2011
1 parent
cb21024
commit eb50b74
Showing
40 changed files
with
22,310 additions
and
503 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
Frameworks/JSCocoa.framework/Headers/BridgeSupportController.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// | ||
// BridgeSupportController.h | ||
// JSCocoa | ||
// | ||
// Created by Patrick Geiller on 08/07/08. | ||
// Copyright 2008 __MyCompanyName__. All rights reserved. | ||
// | ||
|
||
#if !TARGET_IPHONE_SIMULATOR && !TARGET_OS_IPHONE | ||
#import <Cocoa/Cocoa.h> | ||
#endif | ||
|
||
@interface BridgeSupportController : NSObject { | ||
|
||
|
||
NSMutableArray* paths; | ||
NSMutableArray* xmlDocuments; | ||
|
||
NSMutableDictionary* hash; | ||
NSMutableDictionary* variadicSelectors; | ||
NSMutableDictionary* variadicFunctions; | ||
} | ||
|
||
+ (id)sharedController; | ||
|
||
- (BOOL)loadBridgeSupport:(NSString*)path; | ||
- (BOOL)isBridgeSupportLoaded:(NSString*)path; | ||
- (NSUInteger)bridgeSupportIndexForString:(NSString*)string; | ||
|
||
- (NSMutableDictionary*)variadicSelectors; | ||
- (NSMutableDictionary*)variadicFunctions; | ||
|
||
/* | ||
- (NSString*)query:(NSString*)name withType:(NSString*)type; | ||
- (NSString*)query:(NSString*)name withType:(NSString*)type inBridgeSupportFile:(NSString*)file; | ||
*/ | ||
- (NSString*)queryName:(NSString*)name; | ||
- (NSString*)queryName:(NSString*)name type:(NSString*)type; | ||
|
||
- (NSArray*)keys; | ||
|
||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// | ||
// JSCocoa.h | ||
// JSCocoa | ||
// | ||
// Created by Patrick Geiller on 16/12/08. | ||
// Copyright 2008 __MyCompanyName__. All rights reserved. | ||
// | ||
|
||
|
||
#define JSCOCOA | ||
#import "JSCocoaController.h" |
Oops, something went wrong.