mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-04 10:30:42 +00:00
35 lines
758 B
Objective-C
35 lines
758 B
Objective-C
#import <UIKit/UIKit.h>
|
|
|
|
#import <LegacyComponents/TGOverlayControllerWindow.h>
|
|
|
|
@interface TGProgressWindowController : TGOverlayWindowViewController
|
|
|
|
@property (nonatomic, copy) void (^cancelled)(void);
|
|
|
|
- (instancetype)init;
|
|
- (instancetype)initWithLight:(bool)light;
|
|
|
|
- (void)show:(bool)animated;
|
|
- (void)dismiss:(bool)animated completion:(void (^)(void))completion;
|
|
- (void)dismissWithSuccess:(void (^)(void))completion;
|
|
|
|
- (void)updateLayout;
|
|
|
|
@end
|
|
|
|
@interface TGProgressWindow : UIWindow
|
|
|
|
@property (nonatomic, assign) bool skipMakeKeyWindowOnDismiss;
|
|
|
|
- (void)show:(bool)animated;
|
|
- (void)showWithDelay:(NSTimeInterval)delay;
|
|
|
|
- (void)showAnimated;
|
|
- (void)dismiss:(bool)animated;
|
|
- (void)dismissWithSuccess;
|
|
|
|
+ (void)setDarkStyle:(bool)dark;
|
|
|
|
@end
|
|
|