Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
441f5996
Commit
441f5996
authored
Dec 28, 2007
by
Pierre d'Herbemont
Browse files
MacOSX/Framework/VLCMediaList.m: Implement -isReadOnly.
parent
c6e47790
Changes
2
Hide whitespace changes
Inline
Side-by-side
extras/MacOSX/Framework/Headers/Public/VLCMediaList.h
View file @
441f5996
...
...
@@ -63,6 +63,8 @@ extern NSString * VLCMediaListItemDeleted;
-
(
int
)
indexOfMedia
:(
VLCMedia
*
)
media
;
-
(
int
)
count
;
-
(
BOOL
)
isReadOnly
;
/* Media list aspect */
-
(
VLCMediaListAspect
*
)
hierarchicalAspect
;
-
(
VLCMediaListAspect
*
)
flatAspect
;
...
...
extras/MacOSX/Framework/Sources/VLCMediaList.m
View file @
441f5996
...
...
@@ -208,6 +208,16 @@ static void HandleMediaListItemDeleted( const libvlc_event_t * event, void * use
return
result
;
}
-
(
BOOL
)
isReadOnly
{
libvlc_exception_t
p_e
;
libvlc_exception_init
(
&
p_e
);
BOOL
isReadOnly
=
libvlc_media_list_is_readonly
(
p_mlist
);
quit_on_exception
(
&
p_e
);
return
isReadOnly
;
}
/* Media list aspect */
-
(
VLCMediaListAspect
*
)
hierarchicalAspect
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment