//
//  SliderMenuViewController.h
//  EAMiPad
//
//  Created by Ram Madichetty on 5/30/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ContainerView.h"

@protocol MenuDelegate

- (void)menuSelected:(NSString *)label withIndex:(int)index;

@end

@interface MenuViewController : UIViewController <UITableViewDelegate,UITableViewDataSource>
{
    id __unsafe_unretained delegate;
    
}
@property (nonatomic, unsafe_unretained) id delegate;
@property (nonatomic, ) float yOffset;
@property (strong, nonatomic) IBOutlet UITableView *tableView;
@property (strong, nonatomic) IBOutlet ContainerView *containerView;


-(void)enableMenuAtIndex:(int )index;
-(void)disableMenuAtIndex:(int )index;
-(void)addItems:(NSString *)firstItem, ... NS_REQUIRES_NIL_TERMINATION;
-(void)selectMenuAtIndex:(int )index;
-(NSString *)getLabelAtIndex:(int )index;
-(void)show;
- (IBAction)buttonClosePressed:(id)sender;
@end
