supercollider-tmbundle/Support/sc3ctrl/VVOSC.framework/Headers/OSCZeroConfManager.h

40 lines
794 B
C
Raw Permalink Normal View History

//
// OSCZeroConfManager.h
// VVOSC
//
// Created by bagheera on 12/9/08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#if IPHONE
#import <UIKit/UIKit.h>
#else
#import <Cocoa/Cocoa.h>
#endif
#import "OSCZeroConfDomain.h"
#import <pthread.h>
@interface OSCZeroConfManager : NSObject {
NSNetServiceBrowser *domainBrowser;
NSMutableDictionary *domainDict;
pthread_rwlock_t domainLock;
id oscManager;
}
- (id) initWithOSCManager:(id)m;
- (void) serviceRemoved:(NSNetService *)s;
- (void) serviceResolved:(NSNetService *)s;
// NSNetServiceBrowser delegate methods
- (void)netServiceBrowser:(NSNetServiceBrowser *)n didFindDomain:(NSString *)d moreComing:(BOOL)m;
- (void)netServiceBrowser:(NSNetServiceBrowser *)n didNotSearch:(NSDictionary *)err;
@end