Swiftgram/LegacyComponents/PGPhotoFilter.h
2017-07-28 16:50:06 +03:00

20 lines
493 B
Objective-C

#import "PGPhotoEditorItem.h"
@class PGPhotoFilterDefinition;
@class PGPhotoProcessPass;
@interface PGPhotoFilter : NSObject <PGPhotoEditorItem, NSCopying>
{
PGPhotoProcessPass *_pass;
}
@property (nonatomic, readonly) PGPhotoFilterDefinition *definition;
@property (nonatomic, retain) PGPhotoProcessPass *pass;
@property (nonatomic, readonly) PGPhotoProcessPass *optimizedPass;
- (void)invalidate;
+ (PGPhotoFilter *)filterWithDefinition:(PGPhotoFilterDefinition *)definition;
@end