//
//  ClosingCodesGroupTableHeader.h
//  EAMNext
//
//  Created by Chris Snow on 12/20/17.
//

#import <UIKit/UIKit.h>
#import "R5CLOSINGCODESTRUCTURE.H"

@protocol EquipmentStructureDelegate

- (void)refreshData:(id)cell;

@end

@interface ClosingCodesGroupTableHeader : UITableViewCell

@property (strong, nonatomic) IBOutlet UIButton *buttonNode;
@property (strong, nonatomic) IBOutlet UIButton *buttonNode2;

@property (strong, nonatomic) IBOutlet UIButton *buttonToggle;
@property (strong, nonatomic) IBOutlet UIButton *buttonIcon;
@property (strong,nonatomic) NSString *buttonIconPath;
@property (nonatomic) BOOL hasChildren;
@property (nonatomic) BOOL selectedNode;
@property (nonatomic) int level;
@property (strong, nonatomic) R5CLOSINGCODESTRUCTURE *value;
@property (weak, nonatomic) id delegate;

- (IBAction)buttonTogglePressed:(id)sender;
- (IBAction)buttonNodePressed:(id)sender;
- (void)refresh;

@end

