//
//  ComontAlretViewController.h
//  隐私保护
//
//  Created by APPLE on 2023/8/30.
//

#import "BaseViewController.h"

NS_ASSUME_NONNULL_BEGIN

@protocol ComontAlretViewControllerDelegate <NSObject>

- (void)CommonAlertokBtnClickPressed;
- (void)CommonAlertCancelBtnClickPressed;

@end

/**
 *  点击确定
 */
typedef void (^CommonAlert_ClickOkBtn) (void);
/**
 *  点击取消
 */
typedef void (^CommonAlert_ClickCancelBtn) (void);

@interface ComontAlretViewController : BaseViewController
@property (nonatomic,weak)id <ComontAlretViewControllerDelegate> delegate;

- (id)initWithTiTle:(NSString *)title msg:(NSString *)msg imageStr:(NSString *)images cancelTitle:(NSString *)cancelTitle okTitle:(NSString *)okTitle isOkBtnHighlight:(BOOL)okBtnHighlight didClickOk:(CommonAlert_ClickOkBtn)ok didClickCancel:(CommonAlert_ClickCancelBtn)Cancel;

- (void)setButtonCountdownFun:(NSInteger)second;

@end

NS_ASSUME_NONNULL_END
