00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 @interface VLCPlaylistView : NSOutlineView
00029 {
00030 }
00031
00032 @end
00033
00034
00035
00036
00037 @interface VLCPlaylistCommon : NSObject
00038 {
00039 IBOutlet id o_tc_name;
00040 IBOutlet id o_tc_author;
00041 IBOutlet id o_tc_duration;
00042 IBOutlet id o_outline_view;
00043
00044 NSMutableDictionary *o_outline_dict;
00045 int i_current_view;
00046 }
00047
00048 - (void)initStrings;
00049 - (playlist_item_t *)selectedPlaylistItem;
00050 - (NSOutlineView *)outlineView;
00051
00052 @end
00053
00054
00055
00056
00057 @interface VLCPlaylistWizard : VLCPlaylistCommon
00058 {
00059 }
00060
00061 - (IBAction)reloadOutlineView;
00062
00063 @end
00064
00065
00066
00067
00068 @interface VLCPlaylist : VLCPlaylistCommon
00069 {
00070 IBOutlet id o_controller;
00071 IBOutlet id o_playlist_wizard;
00072
00073 IBOutlet id o_btn_playlist;
00074 IBOutlet id o_playlist_view;
00075 IBOutlet id o_status_field;
00076 IBOutlet id o_search_field;
00077 IBOutlet id o_random_ckb;
00078 IBOutlet id o_loop_popup;
00079 IBOutlet id o_mi_save_playlist;
00080 IBOutlet id o_ctx_menu;
00081
00082 IBOutlet id o_mi_play;
00083 IBOutlet id o_mi_delete;
00084 IBOutlet id o_mi_info;
00085 IBOutlet id o_mi_preparse;
00086 IBOutlet id o_mi_selectall;
00087 IBOutlet id o_mi_sort_name;
00088 IBOutlet id o_mi_sort_author;
00089 IBOutlet id o_mi_recursive_expand;
00090
00091
00092 IBOutlet id o_mi_services;
00093 IBOutlet id o_mu_services;
00094
00095
00096 IBOutlet id o_mm_mi_services;
00097 IBOutlet id o_mm_mu_services;
00098
00099 NSImage *o_descendingSortingImage;
00100 NSImage *o_ascendingSortingImage;
00101
00102 NSMutableArray *o_nodes_array;
00103 NSMutableArray *o_items_array;
00104
00105 BOOL b_selected_item_met;
00106 BOOL b_isSortDescending;
00107 id o_tc_sortColumn;
00108 }
00109
00110 - (void)searchfieldChanged:(NSNotification *)o_notification;
00111 - (NSMenu *)menuForEvent:(NSEvent *)o_event;
00112
00113 - (IBAction)handlePopUp:(id)sender;
00114 - (IBAction)searchItem:(id)sender;
00115
00116 - (void)playlistUpdated;
00117 - (void)playModeUpdated;
00118 - (void)sortNode:(int)i_mode;
00119 - (void)updateRowSelection;
00120
00121 - (IBAction)servicesChange:(id)sender;
00122 - (IBAction)playItem:(id)sender;
00123 - (IBAction)preparseItem:(id)sender;
00124 - (IBAction)savePlaylist:(id)sender;
00125 - (IBAction)deleteItem:(id)sender;
00126 - (IBAction)selectAll:(id)sender;
00127 - (IBAction)sortNodeByName:(id)sender;
00128 - (IBAction)sortNodeByAuthor:(id)sender;
00129 - (IBAction)recursiveExpandNode:(id)sender;
00130
00131 - (void)appendArray:(NSArray*)o_array atPos:(int)i_position enqueue:(BOOL)b_enqueue;
00132 - (void)appendNodeArray:(NSArray*)o_array inNode:(playlist_item_t *)p_node atPos:(int)i_position inView:(int)i_view enqueue:(BOOL)b_enqueue;
00133
00134
00135 @end
00136