Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
b0df43f9
Commit
b0df43f9
authored
Aug 24, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx/playlistinfo: simplify header and implementation
parent
5a66b9fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
14 deletions
+7
-14
modules/gui/macosx/playlistinfo.h
modules/gui/macosx/playlistinfo.h
+5
-4
modules/gui/macosx/playlistinfo.m
modules/gui/macosx/playlistinfo.m
+2
-10
No files found.
modules/gui/macosx/playlistinfo.h
View file @
b0df43f9
...
...
@@ -101,6 +101,7 @@
BOOL
b_awakeFromNib
;
}
@property
(
readonly
)
input_item_t
*
item
;
-
(
void
)
initPanel
;
...
...
@@ -109,7 +110,6 @@
-
(
IBAction
)
downloadCoverArt
:(
id
)
sender
;
-
(
void
)
initMediaPanelStats
;
-
(
void
)
updatePanelWithItem
:(
input_item_t
*
)
_p_item
;
-
(
input_item_t
*
)
item
;
-
(
void
)
setMeta
:
(
char
*
)
meta
forLabel
:
(
id
)
theItem
;
-
(
void
)
updateStatistics
;
...
...
@@ -126,10 +126,11 @@
NSMutableArray
*
o_children
;
}
-
(
int
)
numberOfChildren
;
@property
(
readonly
)
int
numberOfChildren
;
@property
(
readonly
)
NSString
*
name
;
@property
(
readonly
)
NSString
*
value
;
-
(
VLCInfoTreeItem
*
)
childAtIndex
:(
NSUInteger
)
i_index
;
-
(
NSString
*
)
name
;
-
(
NSString
*
)
value
;
-
(
void
)
refresh
;
@end
...
...
modules/gui/macosx/playlistinfo.m
View file @
b0df43f9
...
...
@@ -425,6 +425,8 @@ error:
@implementation
VLCInfoTreeItem
@synthesize
name
=
o_name
,
value
=
o_value
;
#define IsALeafNode ((id)-1)
-
(
id
)
initWithName
:
(
NSString
*
)
o_item_name
value
:
(
NSString
*
)
o_item_value
ID
:
(
int
)
i_id
...
...
@@ -504,16 +506,6 @@ error:
return
o_children
;
}
-
(
NSString
*
)
name
{
return
[[
o_name
retain
]
autorelease
];
}
-
(
NSString
*
)
value
{
return
[[
o_value
retain
]
autorelease
];
}
-
(
void
)
refresh
{
input_item_t
*
oldItem
=
p_item
;
...
...
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