Skip to content

Commit

Permalink
Got rid of JavaScriptContext and replaced it with JSCocoa
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Marrin committed Sep 28, 2011
1 parent cb21024 commit eb50b74
Show file tree
Hide file tree
Showing 40 changed files with 22,310 additions and 503 deletions.
43 changes: 43 additions & 0 deletions Frameworks/JSCocoa.framework/Headers/BridgeSupportController.h
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
11 changes: 11 additions & 0 deletions Frameworks/JSCocoa.framework/Headers/JSCocoa.h
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"
Loading

0 comments on commit eb50b74

Please sign in to comment.