public
Description: A Cocoa / Objective-C application that uses the Bonjour service to share contact details between macs on the same network.
Homepage:
Clone URL: git://github.com/Abizern/bonsoir.git
bonsoir / BonjourDelegate.h
100644 26 lines (19 sloc) 0.607 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//
// BonjourDelegate.h
// Bonsoir
//
// Created by R. Tyler Ballance on 8/26/06.
//
 
#import <Cocoa/Cocoa.h>
 
 
@interface BonjourDelegate : NSObject {
// Keeps track of active services or services about to be published
    NSMutableArray *services;
}
 
// NSNetService delegate methods for publication
- (void)netServiceWillPublish:(NSNetService *)netService;
- (void)netService:(NSNetService *)netService
didNotPublish:(NSDictionary *)errorDict;
- (void)netServiceDidStop:(NSNetService *)netService;
 
// Other methods
- (void)handleError:(NSNumber *)error withService:(NSNetService *)service;
 
@end