]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/playlistinfo.h
macosx: robustify media key trap handling
[vlc] / modules / gui / macosx / playlistinfo.h
index 3ae96643bf7be4a04e059e54c9ed23a8f4d3d7cf..8deb36f75994b6d53c0811ac30e588b8a7c385a5 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * playlistinfo.h: MacOS X interface module
  *****************************************************************************
- * Copyright (C) 2002-2008 VLC authors and VideoLAN
+ * Copyright (C) 2002-2012 VLC authors and VideoLAN
  * $Id$
  *
  * Authors: Benjamin Pracht <bigben at videolan dot org>
     VLCInfoTreeItem * rootItem;
 
     input_item_t * p_item;
+
+    BOOL b_awakeFromNib;
+    BOOL b_stats;
 }
+@property (readonly) input_item_t * item;
 
+- (void)updateCocoaWindowLevel:(NSInteger)i_level;
 - (void)initPanel;
 
 - (IBAction)metaFieldChanged:(id)sender;
 - (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;
 
     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