diff options
author | Benoit Foucher <benoit@zeroc.com> | 2016-12-16 15:56:18 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2016-12-16 15:56:18 +0100 |
commit | 66e63999fd121114d27842f1bf3cd2121ccf320c (patch) | |
tree | cf20b42e13a4899f2182acc9a572cbae43987358 /objective-c/test/ios/controller/Classes/ViewController.h | |
parent | Remove unused Makefile (diff) | |
download | ice-66e63999fd121114d27842f1bf3cd2121ccf320c.tar.bz2 ice-66e63999fd121114d27842f1bf3cd2121ccf320c.tar.xz ice-66e63999fd121114d27842f1bf3cd2121ccf320c.zip |
Added support for Objective-C controller
Diffstat (limited to 'objective-c/test/ios/controller/Classes/ViewController.h')
-rw-r--r-- | objective-c/test/ios/controller/Classes/ViewController.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/objective-c/test/ios/controller/Classes/ViewController.h b/objective-c/test/ios/controller/Classes/ViewController.h new file mode 100644 index 00000000000..921af01c10c --- /dev/null +++ b/objective-c/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> +#import <objc/Ice/Ice.h> + +@protocol ViewController<NSObject> +-(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; + NSMutableArray* interfacesIPv4; + NSMutableArray* interfacesIPv6; + id<ICECommunicator> communicator; +} +@end + |