summaryrefslogtreecommitdiff
path: root/cpp/test/ios/controller/Classes/ControllerView.h
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-06-01 17:41:03 +0200
committerJose <jose@zeroc.com>2018-06-01 17:41:03 +0200
commitcbe92e540a7f02f0bdf93192424bd119189365b7 (patch)
tree411c50dc0ae9c669d31a940b1b4903b5deac4f12 /cpp/test/ios/controller/Classes/ControllerView.h
parentFixed Util.py check for binary installation directory on Windows (diff)
downloadice-cbe92e540a7f02f0bdf93192424bd119189365b7.tar.bz2
ice-cbe92e540a7f02f0bdf93192424bd119189365b7.tar.xz
ice-cbe92e540a7f02f0bdf93192424bd119189365b7.zip
Do not use Ice::Application for Ice testsuite
Diffstat (limited to 'cpp/test/ios/controller/Classes/ControllerView.h')
-rw-r--r--cpp/test/ios/controller/Classes/ControllerView.h28
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