mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-07 03:40:09 +00:00
18 lines
401 B
C
18 lines
401 B
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
|