Milestone 5: deliver embedded RDP sessions and lifecycle hardening
This commit is contained in:
42
third_party/FreeRDP/client/iOS/Views/BlockAlertView.h
vendored
Normal file
42
third_party/FreeRDP/client/iOS/Views/BlockAlertView.h
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
//
|
||||
// BlockAlertView.h
|
||||
//
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface BlockAlertView : NSObject
|
||||
{
|
||||
@protected
|
||||
UIView *_view;
|
||||
NSMutableArray *_blocks;
|
||||
CGFloat _height;
|
||||
NSString *_title;
|
||||
NSString *_message;
|
||||
BOOL _shown;
|
||||
BOOL _cancelBounce;
|
||||
}
|
||||
|
||||
+ (BlockAlertView *)alertWithTitle:(NSString *)title message:(NSString *)message;
|
||||
|
||||
+ (void)showInfoAlertWithTitle:(NSString *)title message:(NSString *)message;
|
||||
+ (void)showErrorAlert:(NSError *)error;
|
||||
|
||||
- (id)initWithTitle:(NSString *)title message:(NSString *)message;
|
||||
|
||||
- (void)setDestructiveButtonWithTitle:(NSString *)title block:(void (^)())block;
|
||||
- (void)setCancelButtonWithTitle:(NSString *)title block:(void (^)())block;
|
||||
- (void)addButtonWithTitle:(NSString *)title block:(void (^)())block;
|
||||
|
||||
- (void)addComponents:(CGRect)frame;
|
||||
|
||||
- (void)show;
|
||||
- (void)dismissWithClickedButtonIndex:(NSInteger)buttonIndex animated:(BOOL)animated;
|
||||
|
||||
- (void)setupDisplay;
|
||||
|
||||
@property(nonatomic, retain) UIImage *backgroundImage;
|
||||
@property(nonatomic, readonly) UIView *view;
|
||||
@property(nonatomic, readwrite) BOOL vignetteBackground;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user