X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fmacosx%2Fplaylistinfo.h;h=713810785424c59e14642ee4bb76c36b055da16e;hb=2335fa6b566161fd6e5a3d171191fcf7165345a1;hp=82d166666ccfc0e6cb39f40a9aca545cc1438c42;hpb=6ee1e193fd896ab9a4729fde14f009d9ce629815;p=vlc diff --git a/modules/gui/macosx/playlistinfo.h b/modules/gui/macosx/playlistinfo.h index 82d166666c..7138107854 100644 --- a/modules/gui/macosx/playlistinfo.h +++ b/modules/gui/macosx/playlistinfo.h @@ -1,11 +1,11 @@ /***************************************************************************** * playlistinfo.h: MacOS X interface module ***************************************************************************** - * Copyright (C) 2002-2006 the VideoLAN team + * Copyright (C) 2002-2008 the VideoLAN team * $Id$ * * Authors: Benjamin Pracht - * Felix Kühne + * Felix Paul Kühne * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,6 +26,7 @@ * VLCPlaylistInfo interface *****************************************************************************/ +@class VLCInfoTreeItem; @interface VLCInfo : NSObject { @@ -36,12 +37,8 @@ IBOutlet id o_uri_txt; IBOutlet id o_title_txt; IBOutlet id o_author_txt; - IBOutlet id o_btn_ok; - IBOutlet id o_btn_cancel; - IBOutlet id o_btn_delete_group; - IBOutlet id o_btn_add_group; IBOutlet id o_outline_view; - + IBOutlet id o_tab_view; IBOutlet id o_collection_lbl; @@ -60,10 +57,10 @@ IBOutlet id o_nowPlaying_txt; IBOutlet id o_publisher_lbl; IBOutlet id o_publisher_txt; - IBOutlet id o_rating_lbl; - IBOutlet id o_rating_txt; IBOutlet id o_seqNum_lbl; IBOutlet id o_seqNum_txt; + IBOutlet id o_image_well; + IBOutlet id o_saveMetaData_btn; IBOutlet id o_audio_box; IBOutlet id o_audio_decoded_lbl; @@ -95,22 +92,27 @@ IBOutlet id o_video_box; IBOutlet id o_video_decoded_lbl; IBOutlet id o_video_decoded_txt; + IBOutlet id o_fps_lbl; + IBOutlet id o_fps_txt; + + VLCInfoTreeItem * rootItem; - playlist_item_t * p_item; + input_item_t * p_item; NSTimer * o_statUpdateTimer; } -- (IBAction)togglePlaylistInfoPanel:(id)sender; -- (IBAction)toggleInfoPanel:(id)sender; -- (void)initPanel:(id)sender; -- (void)updatePanel; -- (IBAction)infoCancel:(id)sender; -- (IBAction)infoOk:(id)sender; -- (playlist_item_t *)getItem; -- (BOOL)isItemInPlaylist:(playlist_item_t *)p_item; +- (void)initPanel; +- (void)stopTimers; +- (IBAction)metaFieldChanged:(id)sender; +- (IBAction)saveMetaData:(id)sender; +- (void)initMediaPanelStats; +- (void)updatePanelWithItem:(input_item_t *)_p_item; +- (input_item_t *)item; - (void)setMeta: (char *)meta forLabel: (id)theItem; - (void)updateStatistics: (NSTimer*)theTimer; + ++ (VLCInfo *)sharedInstance; @end @interface VLCInfoTreeItem : NSObject @@ -118,16 +120,15 @@ 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; +- (NSString *)name; +- (NSString *)value; - (void)refresh; @end