Pass authtoken in from user, and add a wrapper for web UI on Mac.
This commit is contained in:
17
ext/mac-ui-macgap1-wrapper/MacGap/Classes/Commands/Sound.h
Normal file
17
ext/mac-ui-macgap1-wrapper/MacGap/Classes/Commands/Sound.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import "Command.h"
|
||||
#import "CallbackDelegate.h"
|
||||
|
||||
|
||||
@interface Sound : Command {
|
||||
|
||||
}
|
||||
|
||||
// pending callbacks for sounds being played, to keep
|
||||
// ARC from freeing them too early
|
||||
@property (nonatomic, strong) NSMutableSet *pending;
|
||||
|
||||
- (void) play:(NSString*)file onComplete:(WebScriptObject*)callback;
|
||||
- (void) playSystem:(NSString*)name onComplete:(WebScriptObject*)callback;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user