//
//  CommonEditorEnumViewController.h
//  RedAnt ERP Mobile
//
//  Created by Ray on 14-7-18.
//  Copyright (c) 2014年 United Software Applications, Inc. All rights reserved.
//

#import <UIKit/UIKit.h>
@class EnumSelectViewController;
@protocol EnumSelectViewControllerDelegate <NSObject>

-(void) EnumValueChanged:(NSMutableDictionary *)value indexPath :(NSIndexPath*) indexPath;

@end
@interface EnumSelectViewController : UIViewController<UITableViewDataSource,UITableViewDelegate,UISearchBarDelegate>
@property (strong,nonatomic) NSMutableDictionary* cadedate;
//@property (strong,nonatomic) NSMutableDictionary* value;
@property (nonatomic, weak) id<EnumSelectViewControllerDelegate> delegate;
//@property bool canbeEmpty;
//@property index last
@property bool single_select;
@property bool auto_close;
@property (strong,nonatomic) NSIndexPath* updatePosition;
@property (strong, nonatomic) IBOutlet UINavigationItem *navi_item;
//@property (strong,nonatomic) NSString* title;
@property bool dirty ;
@property int max_select ;
@property bool is_dialog ;


@property (strong, nonatomic) IBOutlet UITableView *tableEnum;
@property (nonatomic , copy) void (^returnValue)(NSMutableDictionary* value);
@property bool hide_navibar;
@property bool reset;
@property int filter_count;
@property (strong,nonatomic) NSString* keywords;
@end
