12345678910111213141516171819202122232425262728 |
- /*****************************************************************************
- * VLCNotificationRelay.h
- * VLC for iOS
- *****************************************************************************
- * Copyright (c) 2015 VideoLAN. All rights reserved.
- * $Id$
- *
- * Author: Tobias Conradi <videolan # tobias-conradi.de>
- *
- * Refer to the COPYING file of the official project for license.
- *****************************************************************************/
- #import <Foundation/Foundation.h>
- @interface VLCNotificationRelay : NSObject
- + (instancetype)sharedRelay;
- /* relays NSNotificationCenter notifications with localName to CFNotifactionCenter with remoteName */
- - (void)addRelayLocalName:(NSString *)localName toRemoteName:(NSString *)remoteName;
- - (void)removeRelayLocalName:(NSString *)localName;
- /* relays CFNotifactionCenter with remoteName to NSNotificationCenter notifications with localName */
- - (void)addRelayRemoteName:(NSString *)remoteName toLocalName:(NSString *)localName;
- - (void)removeRelayRemoteName:(NSString *)remoteName;
- @end
|