ArDrone SDK 1.8 added
[mardrone] / mardrone / ARDrone_SDK_Version_1_8_20110726 / ControlEngine / iPhone / Classes / Controllers / MainViewController.h
diff --git a/mardrone/ARDrone_SDK_Version_1_8_20110726/ControlEngine/iPhone/Classes/Controllers/MainViewController.h b/mardrone/ARDrone_SDK_Version_1_8_20110726/ControlEngine/iPhone/Classes/Controllers/MainViewController.h
new file mode 100644 (file)
index 0000000..6ffde5e
--- /dev/null
@@ -0,0 +1,42 @@
+//
+//  MainViewController.h
+//  ARDroneEngine
+//
+//  Created by Mykonos on 17/12/09.
+//  Copyright 2009 Parrot SA. All rights reserved.
+//
+
+#include "ConstantsAndMacros.h"
+
+#import <UIKit/UIKit.h>
+#import "HUD.h"
+#import "SettingsMenu.h"
+#import "ARDrone.h"
+#import "ARDroneProtocols.h"
+#import "InternalProtocols.h"
+
+@interface MainViewController : UIViewController 
+{
+@private
+       /**
+        * Id of Game engine implementing protocol 
+        */
+       id<ARDroneProtocolOut> gameEngine;
+       
+       HUD                      *hud;
+       SettingsMenu *menuSettings;
+}
+
+- (id) initWithFrame:(CGRect)frame withState:(BOOL)inGame withDelegate:(id<ARDroneProtocolOut>)delegate withNavdataDelegate:(id<NavdataProtocol>)_navdata_delegate withControlData:(ControlData*)_controlData  withHUDConfiguration:(ARDroneHUDConfiguration*)hudconfiguration;
+- (void)setScreenOrientationRight:(BOOL)right;
+- (ARDroneEnemiesData*)humanEnemiesData;
+- (ARDroneNavigationData*)navigationData;
+- (ARDroneCamera*)droneCamera;
+- (ARDroneDetectionCamera*)detectionCamera;
+- (void)changeState:(BOOL)inGame;
+- (void)executeCommandIn:(ARDRONE_COMMAND_IN_WITH_PARAM)commandIn fromSender:(id)sender refreshSettings:(BOOL)refresh;
+- (void)executeCommandIn:(ARDRONE_COMMAND_IN)commandId withParameter:(void*)parameter fromSender:(id)sender;
+- (void)setDefaultConfigurationForKey:(ARDRONE_CONFIG_KEYS)key withValue:(void *)value;
+- (void)setWifiReachabled:(BOOL)reachabled;
+
+@end