//
//  ChildViewController.h
//  DUREX Vendor Control
//
//  Created by Imanol Barba on 10/10/14.
//  Copyright (c) 2014 Emmoco. All rights reserved.
//

@class ChildViewController;

#import <UIKit/UIKit.h>

@protocol ChildViewControllerDelegate <NSObject>
- (void)removeChildFromParentController:(ChildViewController*)controller;

@end

@interface ChildViewController : UIViewController

- (void) parentViewControllerDidRotateWithOrientation: (UIDeviceOrientation) orientation;
- (void) parentViewControllerWillRotateToInterfaceOrientation: (UIInterfaceOrientation)toInterfaceOrientation duration: (NSTimeInterval)duration;

@property (nonatomic, strong) id <ChildViewControllerDelegate> childDelegate;
@end
