//
//  MenuViewController.h
//  HMSMobile
//
//  Created by Lin Zhou on 2/20/13.
//  Copyright (c) 2013 Lin Zhou. All rights reserved.
//

#import <UIKit/UIKit.h>


//Make sure the menus defined covered from 0 to max
#define MENU_COUNTS         21
#define MENUID_GIS          1
#define MENUID_WO           2
#define MENUID_EQUIP        3
#define MENUID_WOREQ        4
#define MENUID_ASSETINV     5
#define MENUID_PHYINV       6
#define MENUID_PHYINV_CONN  7
#define MENUID_HOURSWORKED  8
#define MENUID_BREADCRUMBS  9
#define MENUID_NONCONFORMITY     10
#define MENUID_FACETIME     18
#define MENUID_SETTINGS     19
#define MENUID_OPERATORCHECKLIST 11
#define MENUID_HTMLCHECKLIST    10 //Not used
#define MENUID_HTMLGIS          11 //Not used
#define MENUID_PORECEIPTS   12
#define MENUID_RECEIVEASSET 13
#define MENUID_JSIWO   14
#define MENUID_NOTEBOOK   15
#define MENUID_PERMITTOWORK 16
#define MENUID_BATCHBOOKLABOR 17
#define MENUID_DUX          18


#define MENUID_HOME  20  //Special menu, not part of the tableview
#define MENUID_FULLSYNC   21  //special menu, not part of the tableview index

@interface HomeMenuViewController : UIViewController <UITableViewDataSource, UITableViewDelegate>
{
    
}

- (void)openViewController:(NSInteger )index fromHome:(BOOL )fromHome;
- (void)openWorkOrderViewController:(NSInteger )index;
- (BOOL)openMobileFirstScreen;
-(void)loginSuccessful;

@end
