//
//  RulesRegisterTimerViewController.h
//  kneet
//
//  Created by Jason Lee on 3/24/15.
//  Copyright (c) 2015 ntels. All rights reserved.
//

#import "JDViewController.h"

@class CustomLabel;
@class CustomButton;
@class ItemModel;

@interface CustomDatePicker : UIDatePicker {
    BOOL changed;
}

@end

@interface RegisterTimerViewController : JDViewController


#pragma mark - Properties
@property (weak, nonatomic) ItemModel *tmpItem;

@property (weak, nonatomic) IBOutlet UITableView *tableView;

@property (weak, nonatomic) IBOutlet CustomButton *btnSelect;
@property (weak, nonatomic) IBOutlet CustomButton *btnCancel;


#pragma mark - Instance Methods
- (IBAction)btnSelectTouched:(id)sender;
- (IBAction)btnCancelTouched:(id)sender;

@end

@interface RegisterTimerTitleTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet CustomLabel *lblItemTitle;

@end

@interface RegisterPickerTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet CustomDatePicker *timePicker;
@end

@interface RegisterTriggerActivationTableViewCell : UITableViewCell {
    UIImage *_btnAddTriggerImageNormal, *_btnAddTriggerImageHighlight;
    UIImage *_btnDeleteTriggerImageNormal, *_btnDeleteTriggerImageHighlight;
}

@property (weak, nonatomic) IBOutlet CustomLabel *lblDesc;
@property (weak, nonatomic) IBOutlet CustomButton *btnTriggerOption;

- (void)setTriggerOptionEnable:(BOOL)enable;

@end

@interface RegisterContainerTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIView *triggerOptionContainer;
@end
