X-Git-Url: http://git.maemo.org/git/?p=mardrone;a=blobdiff_plain;f=mardrone%2FARDrone_SDK_Version_1_8_20110726%2FControlEngine%2FiPhone%2FClasses%2FControllers%2FMainViewController.h;fp=mardrone%2FARDrone_SDK_Version_1_8_20110726%2FControlEngine%2FiPhone%2FClasses%2FControllers%2FMainViewController.h;h=6ffde5e6b27adae26cb0910ef8d6599996d9a157;hp=0000000000000000000000000000000000000000;hb=9ec9bc13b75d30bc45535c54a652934debfcea92;hpb=ae0a3c2dc0898400aca0dd6b439c5db8044db7b2 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 index 0000000..6ffde5e --- /dev/null +++ b/mardrone/ARDrone_SDK_Version_1_8_20110726/ControlEngine/iPhone/Classes/Controllers/MainViewController.h @@ -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 +#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 gameEngine; + + HUD *hud; + SettingsMenu *menuSettings; +} + +- (id) initWithFrame:(CGRect)frame withState:(BOOL)inGame withDelegate:(id)delegate withNavdataDelegate:(id)_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