BLIP/Demo/BLIPEchoClient.h
author Jens Alfke <jens@mooseyard.com>
Sun Jul 13 10:52:48 2008 -0700 (2008-07-13)
changeset 20 02224e981209
parent 4 2bd9d60a2c46
child 26 cb9cdf247239
permissions -rw-r--r--
* Fixed link error in BLIPClient target.
* Fixed *Ph*n* #ifdef issue (thanks, Jimmy)
     1 //
     2 //  BLIPEchoClient.h
     3 //  MYNetwork
     4 //
     5 //  Created by Jens Alfke on 5/24/08.
     6 //  Copyright 2008 Jens Alfke. All rights reserved.
     7 //  Adapted from Apple sample code "CocoaEcho":
     8 //  http://developer.apple.com/samplecode/CocoaEcho/index.html
     9 //
    10 
    11 #import <Cocoa/Cocoa.h>
    12 @class BLIPConnection;
    13 
    14 
    15 @interface BLIPEchoClient : NSObject
    16 {
    17     IBOutlet NSTextField * inputField;
    18     IBOutlet NSTextField * responseField;
    19     IBOutlet NSTableView * serverTableView;
    20     
    21     NSNetServiceBrowser * _serviceBrowser;
    22     NSMutableArray * _serviceList;
    23 
    24     BLIPConnection *_connection;
    25 }
    26 
    27 @property (readonly) NSMutableArray *serviceList;
    28 
    29 - (IBAction)sendText:(id)sender;
    30 
    31 @end