Commit 0d0e6fc3 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx/framework: Implement write KVC for VLCMediaList.

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