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.

33 lines
995 B

  1. //
  2. // SCCaptureConfigurationAnnouncer_Private.h
  3. // Snapchat
  4. //
  5. // Created by Lin Jia on 10/2/17.
  6. //
  7. //
  8. #import "SCCaptureConfigurationAnnouncer.h"
  9. #import "SCManagedCapturerState.h"
  10. #import <SCFoundation/SCQueuePerformer.h>
  11. @class SCCaptureConfigurator;
  12. /*
  13. This private header is only going to be used by SCCaptureConfigurator. Other customers should only use the public
  14. header.
  15. */
  16. @interface SCCaptureConfigurationAnnouncer ()
  17. /*
  18. The announcer is going to be instantiated by SCCaptureConfigurator. It will take in a queue performer. The design is
  19. that announcer and configurator is going to share the same serial queue to avoid racing. This is something we could
  20. change later.
  21. */
  22. - (instancetype)initWithPerformer:(SCQueuePerformer *)performer configurator:(SCCaptureConfigurator *)configurator;
  23. /*
  24. The API below is called by configurator to notify listener that configuration has changed.
  25. */
  26. - (void)deliverConfigurationChange:(id<SCManagedCapturerState>)configuration;
  27. @end