2014 snapchat source code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
689 B

  1. //
  2. // SCFeatureLensButtonZ.h
  3. // SCCamera
  4. //
  5. // Created by Anton Udovychenko on 4/24/18.
  6. //
  7. #import "AVCameraViewEnums.h"
  8. #import "SCFeature.h"
  9. #import <Foundation/Foundation.h>
  10. @protocol SCFeatureLensButtonZ;
  11. @class SCGrowingButton, SCLens;
  12. NS_ASSUME_NONNULL_BEGIN
  13. @protocol SCFeatureLensButtonZDelegate <NSObject>
  14. - (void)featureLensZButton:(id<SCFeatureLensButtonZ>)featureLensZButton
  15. didPressLensButton:(SCGrowingButton *)lensButton;
  16. - (nullable NSArray<SCLens *> *)allLenses;
  17. @end
  18. @protocol SCFeatureLensButtonZ <SCFeature>
  19. @property (nonatomic, weak) id<SCFeatureLensButtonZDelegate> delegate;
  20. - (void)setLensButtonActive:(BOOL)active;
  21. @end
  22. NS_ASSUME_NONNULL_END