]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/playlistinfo.h
macosx: video effects panel: synchronize text field and stepper values properly by...
[vlc] / modules / gui / macosx / playlistinfo.h
index 4666feac4280b6bf0e394efbdb6aa3bd99cfbc5f..d4936418df17c2fdc54d0e6921c2b1ca8f75056d 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * playlistinfo.h: MacOS X interface module
  *****************************************************************************
- * Copyright (C) 2002-2008 the VideoLAN team
+ * Copyright (C) 2002-2012 VLC authors and VideoLAN
  * $Id$
  *
  * Authors: Benjamin Pracht <bigben at videolan dot org>
@@ -26,6 +26,7 @@
  * VLCPlaylistInfo interface
  *****************************************************************************/
 
+@class VLCInfoTreeItem;
 
 @interface VLCInfo : NSObject
 {
@@ -48,6 +49,8 @@
     IBOutlet id o_date_txt;
     IBOutlet id o_description_lbl;
     IBOutlet id o_description_txt;
+    IBOutlet id o_encodedby_lbl;
+    IBOutlet id o_encodedby_txt;
     IBOutlet id o_genre_lbl;
     IBOutlet id o_genre_txt;
     IBOutlet id o_language_lbl;
@@ -61,7 +64,7 @@
     IBOutlet id o_image_well;
     IBOutlet id o_saveMetaData_btn;
 
-    IBOutlet id o_audio_box;
+    IBOutlet id o_audio_lbl;
     IBOutlet id o_audio_decoded_lbl;
     IBOutlet id o_audio_decoded_txt;
     IBOutlet id o_demux_bitrate_lbl;
@@ -72,7 +75,7 @@
     IBOutlet id o_displayed_txt;
     IBOutlet id o_input_bitrate_lbl;
     IBOutlet id o_input_bitrate_txt;
-    IBOutlet id o_input_box;
+    IBOutlet id o_input_lbl;
     IBOutlet id o_lost_abuffers_lbl;
     IBOutlet id o_lost_abuffers_txt;
     IBOutlet id o_lost_frames_lbl;
     IBOutlet id o_sent_bytes_txt;
     IBOutlet id o_sent_packets_lbl;
     IBOutlet id o_sent_packets_txt;
-    IBOutlet id o_sout_box;
-    IBOutlet id o_video_box;
+    IBOutlet id o_sout_lbl;
+    IBOutlet id o_video_lbl;
     IBOutlet id o_video_decoded_lbl;
     IBOutlet id o_video_decoded_txt;
-       IBOutlet id o_fps_lbl;
-       IBOutlet id o_fps_txt;
 
-    playlist_item_t * p_item;
-    NSTimer * o_statUpdateTimer;
+    VLCInfoTreeItem * rootItem;
+
+    input_item_t * p_item;
+
+    BOOL b_awakeFromNib;
+    BOOL b_stats;
 }
+@property (readonly) input_item_t * item;
 
 - (void)initPanel;
+
 - (IBAction)metaFieldChanged:(id)sender;
 - (IBAction)saveMetaData:(id)sender;
+- (IBAction)downloadCoverArt:(id)sender;
 - (void)initMediaPanelStats;
-- (void)updatePanel;
-- (playlist_item_t *)getItem;
-- (BOOL)isItemInPlaylist:(playlist_item_t *)p_item;
-
+- (void)updatePanelWithItem:(input_item_t *)_p_item;
 - (void)setMeta: (char *)meta forLabel: (id)theItem;
-- (void)updateStatistics: (NSTimer*)theTimer;
+- (void)updateStatistics;
 
 + (VLCInfo *)sharedInstance;
 @end
     NSString *o_name;
     NSString *o_value;
     int i_object_id;
-    playlist_item_t * p_item;
+    input_item_t * p_item;
     VLCInfoTreeItem *o_parent;
     NSMutableArray *o_children;
 }
 
-+ (VLCInfoTreeItem *)rootItem;
-- (int)numberOfChildren;
-- (VLCInfoTreeItem *)childAtIndex:(int)i_index;
-- (NSString *)getName;
-- (NSString *)getValue;
+@property (readonly) int numberOfChildren;
+@property (readonly) NSString * name;
+@property (readonly) NSString * value;
+
+- (VLCInfoTreeItem *)childAtIndex:(NSUInteger)i_index;
 - (void)refresh;
 
 @end