diff options
Diffstat (limited to 'cpp/test/ios/controller/Classes/ViewController.h')
-rw-r--r-- | cpp/test/ios/controller/Classes/ViewController.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/cpp/test/ios/controller/Classes/ViewController.h b/cpp/test/ios/controller/Classes/ViewController.h new file mode 100644 index 00000000000..645dbbab57f --- /dev/null +++ b/cpp/test/ios/controller/Classes/ViewController.h @@ -0,0 +1,29 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +#import <UIKit/UIKit.h> + +@protocol ViewController +-(void) print:(NSString*)msg; +-(void) println:(NSString*)msg; +@end + +@interface ViewController : UIViewController<ViewController, UIPickerViewDataSource, UIPickerViewDelegate> +{ +@private + IBOutlet UIPickerView* interfaceIPv4; + IBOutlet UIPickerView* interfaceIPv6; + IBOutlet UITextView* output; + void (*startController)(id<ViewController>, NSString*, NSString*); + void (*stopController)(id<ViewController>); + NSMutableArray* interfacesIPv4; + NSMutableArray* interfacesIPv6; +} +@end + |