summaryrefslogtreecommitdiff
path: root/ext/mac-ui-macgap1-wrapper/src/MacGap/Classes/CallbackDelegate.h
blob: 0f31ee417cdf874084c9d0a0aeca1564c93aa331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
//  CallbackDelegate.h
//  MacGap
//
//  Created by Joe Hildebrand on 1/10/12.
//  Copyright (c) 2012 Twitter. All rights reserved.
//

#import "Command.h"

@interface CallbackDelegate : Command {
}

@property JSObjectRef callback;

- (id) initWithContext:(JSContextRef)aContext forCallback:(WebScriptObject*)aCallback;
- (id) call;
- (id) callWithParams:(id)firstOrNil, ... NS_REQUIRES_NIL_TERMINATION;

@end