BLIP/Demo/BLIPEchoClient.h
changeset 26 cb9cdf247239
parent 7 5936db2c1987
     1.1 --- a/BLIP/Demo/BLIPEchoClient.h	Sun May 25 13:43:03 2008 -0700
     1.2 +++ b/BLIP/Demo/BLIPEchoClient.h	Wed Apr 22 16:45:39 2009 -0700
     1.3 @@ -9,23 +9,24 @@
     1.4  //
     1.5  
     1.6  #import <Cocoa/Cocoa.h>
     1.7 -@class BLIPConnection;
     1.8 +#import "BLIPConnection.h"
     1.9 +@class MYBonjourBrowser;
    1.10  
    1.11  
    1.12 -@interface BLIPEchoClient : NSObject
    1.13 +@interface BLIPEchoClient : NSObject <BLIPConnectionDelegate>
    1.14  {
    1.15      IBOutlet NSTextField * inputField;
    1.16      IBOutlet NSTextField * responseField;
    1.17      IBOutlet NSTableView * serverTableView;
    1.18      
    1.19 -    NSNetServiceBrowser * _serviceBrowser;
    1.20 -    NSMutableArray * _serviceList;
    1.21 -
    1.22 +    MYBonjourBrowser * _serviceBrowser;
    1.23      BLIPConnection *_connection;
    1.24  }
    1.25  
    1.26 -@property (readonly) NSMutableArray *serviceList;
    1.27 +@property (readonly) MYBonjourBrowser *serviceBrowser;
    1.28 +@property (readonly) NSArray *serviceList;
    1.29  
    1.30 +- (IBAction)serverClicked:(id)sender;
    1.31  - (IBAction)sendText:(id)sender;
    1.32  
    1.33  @end