VLCNotificationRelay.h 747 B

123456789101112131415161718192021222324
  1. //
  2. // VLCNotificationRelay.h
  3. // VLC for iOS
  4. //
  5. // Created by Tobias Conradi on 02.04.15.
  6. // Copyright (c) 2015 VideoLAN. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface VLCNotificationRelay : NSObject
  10. + (instancetype)sharedRelay;
  11. /* relays NSNotificationCenter notifications with localName to CFNotifactionCenter with remoteName */
  12. - (void)addRelayLocalName:(NSString *)localName toRemoteName:(NSString *)remoteName;
  13. - (void)removeRelayLocalName:(NSString *)localName;
  14. /* relays CFNotifactionCenter with remoteName to NSNotificationCenter notifications with localName */
  15. - (void)addRelayRemoteName:(NSString *)remoteName toLocalName:(NSString *)localName;
  16. - (void)removeRelayRemoteName:(NSString *)remoteName;
  17. @end