Swiftgram/submodules/LegacyComponents/Sources/TGPhotoCaptionController.h
2020-02-22 15:38:54 +04:00

18 lines
599 B
Objective-C

#import "TGPhotoEditorTabController.h"
#import <LegacyComponents/LegacyComponentsContext.h>
@class PGPhotoEditor;
@class TGSuggestionContext;
@class TGPhotoEditorPreviewView;
@interface TGPhotoCaptionController : TGPhotoEditorTabController
@property (nonatomic, copy) void (^captionSet)(NSString *caption, NSArray *entities);
@property (nonatomic, strong) TGSuggestionContext *suggestionContext;
- (instancetype)initWithContext:(id<LegacyComponentsContext>)context photoEditor:(PGPhotoEditor *)photoEditor previewView:(TGPhotoEditorPreviewView *)previewView caption:(NSString *)caption;
@end