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.

23 lines
642 B

  1. //
  2. // SCFeatureFlashImpl.h
  3. // SCCamera
  4. //
  5. // Created by Kristian Bauer on 3/27/18.
  6. //
  7. #import "SCFeatureFlash.h"
  8. #import <SCBase/SCMacros.h>
  9. @class SCLogger;
  10. @protocol SCCapturer;
  11. /**
  12. * Interface for camera flash feature. Handles enabling/disabling of camera flash via SCCapturer and UI for displaying
  13. * flash button.
  14. * Should only expose initializer. All other vars and methods should be declared in SCFeatureFlash protocol.
  15. */
  16. @interface SCFeatureFlashImpl : NSObject <SCFeatureFlash>
  17. SC_INIT_AND_NEW_UNAVAILABLE
  18. - (instancetype)initWithCapturer:(id<SCCapturer>)capturer logger:(SCLogger *)logger NS_DESIGNATED_INITIALIZER;
  19. @end