mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-30 16:13:55 +00:00
18 lines
401 B
Objective-C
18 lines
401 B
Objective-C
#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
|