Commit 150c4cba authored by Pierre's avatar Pierre

macosx/framework: Implement write KVC for VLCMediaList.

parent 5163cdf9
...@@ -187,7 +187,7 @@ static void HandleMediaListItemDeleted( const libvlc_event_t * event, void * use ...@@ -187,7 +187,7 @@ static void HandleMediaListItemDeleted( const libvlc_event_t * event, void * use
return [self count]; return [self count];
} }
- (id)objectInMediaAtIndex:(NSInteger)i - (id)objectInMediaAtIndex:(NSUInteger)i
{ {
return [self mediaAtIndex:i]; return [self mediaAtIndex:i];
} }
...@@ -197,6 +197,16 @@ static void HandleMediaListItemDeleted( const libvlc_event_t * event, void * use ...@@ -197,6 +197,16 @@ static void HandleMediaListItemDeleted( const libvlc_event_t * event, void * use
return [cachedMedia count]; return [cachedMedia count];
} }
- (void)insertObject:(id)object inMediaAtIndex:(NSUInteger)i
{
[self insertMedia:object atIndex:i];
}
- (void)removeObjectFromMediaAtIndex:(NSUInteger)i
{
[self removeMediaAtIndex:i];
}
@synthesize delegate; @synthesize delegate;
- (BOOL)isReadOnly - (BOOL)isReadOnly
......
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