diff options
Diffstat (limited to 'cpp/test/ios/controller/Classes/ControllerView.h')
-rw-r--r-- | cpp/test/ios/controller/Classes/ControllerView.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/cpp/test/ios/controller/Classes/ControllerView.h b/cpp/test/ios/controller/Classes/ControllerView.h new file mode 100644 index 00000000000..8a7b43f414f --- /dev/null +++ b/cpp/test/ios/controller/Classes/ControllerView.h @@ -0,0 +1,28 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2018 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 ControllerView +-(void) print:(NSString*)msg; +-(void) println:(NSString*)msg; +@end + +@interface ControllerView : UIViewController<ControllerView, UIPickerViewDataSource, UIPickerViewDelegate> +{ +@private + IBOutlet UIPickerView* interfaceIPv4; + IBOutlet UIPickerView* interfaceIPv6; + IBOutlet UITextView* output; + void (*startController)(id<ControllerView>, NSString*, NSString*); + void (*stopController)(id<ControllerView>); + NSMutableArray* interfacesIPv4; + NSMutableArray* interfacesIPv6; +} +@end |