1.1 --- a/Bonjour/MYBonjourService.m Wed Jul 01 14:14:32 2009 -0700
1.2 +++ b/Bonjour/MYBonjourService.m Fri Jul 24 14:06:28 2009 -0700
1.3 @@ -29,16 +29,18 @@
1.4 @implementation MYBonjourService
1.5
1.6
1.7 -- (id) initWithName: (NSString*)serviceName
1.8 - type: (NSString*)type
1.9 - domain: (NSString*)domain
1.10 - interface: (UInt32)interfaceIndex
1.11 +- (id) initWithBrowser: (MYBonjourBrowser*)browser
1.12 + name: (NSString*)serviceName
1.13 + type: (NSString*)type
1.14 + domain: (NSString*)domain
1.15 + interface: (UInt32)interfaceIndex
1.16 {
1.17 Assert(serviceName);
1.18 Assert(type);
1.19 Assert(domain);
1.20 self = [super init];
1.21 if (self != nil) {
1.22 + _bonjourBrowser = browser;
1.23 _name = [serviceName copy];
1.24 _type = [type copy];
1.25 _domain = [domain copy];
1.26 @@ -62,8 +64,8 @@
1.27 }
1.28
1.29
1.30 -@synthesize name=_name, type=_type, domain=_domain, fullName=_fullName,
1.31 - hostname=_hostname, port=_port, interfaceIndex=_interfaceIndex;
1.32 +@synthesize bonjourBrowser=_bonjourBrowser, name=_name, type=_type, domain=_domain,
1.33 + fullName=_fullName, hostname=_hostname, port=_port, interfaceIndex=_interfaceIndex;
1.34
1.35
1.36 - (NSString*) description {