1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/iPhone/Classes/MyViewController.h Thu Jul 02 19:58:11 2009 -0700
1.3 @@ -0,0 +1,68 @@
1.4 +/*
1.5 +
1.6 +File: MyViewController.h
1.7 +Abstract: A view controller responsible for managing the Hello World view.
1.8 +
1.9 +Version: 1.7
1.10 +
1.11 +Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc.
1.12 +("Apple") in consideration of your agreement to the following terms, and your
1.13 +use, installation, modification or redistribution of this Apple software
1.14 +constitutes acceptance of these terms. If you do not agree with these terms,
1.15 +please do not use, install, modify or redistribute this Apple software.
1.16 +
1.17 +In consideration of your agreement to abide by the following terms, and subject
1.18 +to these terms, Apple grants you a personal, non-exclusive license, under
1.19 +Apple's copyrights in this original Apple software (the "Apple Software"), to
1.20 +use, reproduce, modify and redistribute the Apple Software, with or without
1.21 +modifications, in source and/or binary forms; provided that if you redistribute
1.22 +the Apple Software in its entirety and without modifications, you must retain
1.23 +this notice and the following text and disclaimers in all such redistributions
1.24 +of the Apple Software.
1.25 +Neither the name, trademarks, service marks or logos of Apple Inc. may be used
1.26 +to endorse or promote products derived from the Apple Software without specific
1.27 +prior written permission from Apple. Except as expressly stated in this notice,
1.28 +no other rights or licenses, express or implied, are granted by Apple herein,
1.29 +including but not limited to any patent rights that may be infringed by your
1.30 +derivative works or by other works in which the Apple Software may be
1.31 +incorporated.
1.32 +
1.33 +The Apple Software is provided by Apple on an "AS IS" basis. APPLE MAKES NO
1.34 +WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED
1.35 +WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1.36 +PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND OPERATION ALONE OR IN
1.37 +COMBINATION WITH YOUR PRODUCTS.
1.38 +
1.39 +IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR
1.40 +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
1.41 +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1.42 +ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR
1.43 +DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF
1.44 +CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF
1.45 +APPLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1.46 +
1.47 +Copyright (C) 2008 Apple Inc. All Rights Reserved.
1.48 +
1.49 +*/
1.50 +
1.51 +#import <UIKit/UIKit.h>
1.52 +#import "BLIPConnection.h"
1.53 +
1.54 +@interface MyViewController : UIViewController <UITextFieldDelegate,
1.55 + TCPListenerDelegate,
1.56 + BLIPConnectionDelegate> {
1.57 +
1.58 + IBOutlet UITextField *textField;
1.59 + IBOutlet UILabel *label;
1.60 + NSString *string;
1.61 + BLIPListener *_listener;
1.62 +}
1.63 +
1.64 +@property (nonatomic, retain) UITextField *textField;
1.65 +@property (nonatomic, retain) UILabel *label;
1.66 +@property (nonatomic, copy) NSString *string;
1.67 +
1.68 +- (void)updateString;
1.69 +
1.70 +@end
1.71 +