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