//
//  TopViewController.h
//  HospitalityPrototype
//
//  Created by Lin Zhou on 2/20/13.
//  Copyright (c) 2013 Infor Global Solutions. All rights reserved.
//

#import <UIKit/UIKit.h>

@class BasePanelViewController;

@interface ScrollPanelsViewController : UIViewController

@property (nonatomic, strong) UIScrollView      *scrollView;
@property (nonatomic, strong) UINavigationItem  *navItem;


- (void)showAnchorButtons;
- (void)flip:(BasePanelViewController *)panelVC to:(UIViewController *)actionVC;
- (void)flipBack:(BasePanelViewController *)panelVC from:(UIViewController *)actionVC;
- (void)flipDetailView:(UIViewController *)sourceVC to:(UIViewController *)targetVC; //Swith between multiple Detail Views
- (void)scrollToPanel:(BasePanelViewController *)panelVC;
- (void)addPanel:(BasePanelViewController *)vc;
- (void)insertPanel:(BasePanelViewController *)vc atIndex:(int)index;
- (void)deletePanel:(BasePanelViewController *)vc;
- (void)showPanelViews; 

- (void)closeAction:(id)sender;

-(NSArray *)allPanels;

@end
