Commit 1104e614 authored by Felix Paul Kühne's avatar Felix Paul Kühne

VLCMediaPlayer: allow read-only access to the used VLCLibrary instance

parent 520090c0
......@@ -37,6 +37,8 @@
@class VLCVideoLayer;
#endif
@class VLCLibrary;
/* Notification Messages */
extern NSString *const VLCMediaPlayerTimeChanged;
extern NSString *const VLCMediaPlayerStateChanged;
......@@ -90,6 +92,8 @@ extern NSString * VLCMediaPlayerStateToString(VLCMediaPlayerState state);
// TODO: Should we use medialist_player or our own flavor of media player?
@interface VLCMediaPlayer : NSObject
@property (readonly) VLCLibrary *libraryInstance;
#if !TARGET_OS_IPHONE
/* Initializers */
- (id)initWithVideoView:(VLCVideoView *)aVideoView;
......
......@@ -163,6 +163,7 @@ static void HandleMediaPlayerMediaChanged(const libvlc_event_t * event, void * s
@end
@implementation VLCMediaPlayer
@synthesize libraryInstance = _privateLibrary;
/* Bindings */
+ (NSSet *)keyPathsForValuesAffectingValueForKey:(NSString *)key
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment