Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
0d4609bf
Commit
0d4609bf
authored
Dec 30, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MacOSX/Framework/VLCMediaList.m: new aspect for the node hierarchy view.
parent
083f03e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
extras/MacOSX/Framework/Headers/Public/VLCMediaList.h
extras/MacOSX/Framework/Headers/Public/VLCMediaList.h
+1
-0
extras/MacOSX/Framework/Sources/VLCMediaList.m
extras/MacOSX/Framework/Sources/VLCMediaList.m
+10
-0
No files found.
extras/MacOSX/Framework/Headers/Public/VLCMediaList.h
View file @
0d4609bf
...
@@ -67,5 +67,6 @@ extern NSString * VLCMediaListItemDeleted;
...
@@ -67,5 +67,6 @@ extern NSString * VLCMediaListItemDeleted;
/* Media list aspect */
/* Media list aspect */
-
(
VLCMediaListAspect
*
)
hierarchicalAspect
;
-
(
VLCMediaListAspect
*
)
hierarchicalAspect
;
-
(
VLCMediaListAspect
*
)
hierarchicalNodeAspect
;
-
(
VLCMediaListAspect
*
)
flatAspect
;
-
(
VLCMediaListAspect
*
)
flatAspect
;
@end
@end
extras/MacOSX/Framework/Sources/VLCMediaList.m
View file @
0d4609bf
...
@@ -229,6 +229,16 @@ static void HandleMediaListItemDeleted( const libvlc_event_t * event, void * use
...
@@ -229,6 +229,16 @@ static void HandleMediaListItemDeleted( const libvlc_event_t * event, void * use
return
hierarchicalAspect
;
return
hierarchicalAspect
;
}
}
-
(
VLCMediaListAspect
*
)
hierarchicalNodeAspect
{
if
(
hierarchicalAspect
)
return
hierarchicalAspect
;
libvlc_media_list_view_t
*
p_mlv
=
libvlc_media_list_hierarchical_node_view
(
p_mlist
,
NULL
);
hierarchicalAspect
=
[[
VLCMediaListAspect
mediaListAspectWithLibVLCMediaListView
:
p_mlv
]
retain
];
libvlc_media_list_view_release
(
p_mlv
);
return
hierarchicalAspect
;
}
-
(
VLCMediaListAspect
*
)
flatAspect
-
(
VLCMediaListAspect
*
)
flatAspect
{
{
if
(
flatAspect
)
if
(
flatAspect
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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