Commit b0df43f9 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx/playlistinfo: simplify header and implementation

parent 5a66b9fc
......@@ -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
......
......@@ -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;
......
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