1 /*****************************************************************************
2 * playlist.h: MacOS X interface plugin
3 *****************************************************************************
4 * Copyright (C) 2002 VideoLAN
5 * $Id: playlist.h,v 1.2 2003/01/05 03:21:50 jlj Exp $
7 * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
22 *****************************************************************************/
24 /*****************************************************************************
25 * VLCPlaylistView interface
26 *****************************************************************************/
27 @interface VLCPlaylistView : NSTableView
34 /*****************************************************************************
35 * VLCPlaylist interface
36 *****************************************************************************/
37 @interface VLCPlaylist : NSObject
39 IBOutlet id o_table_view;
41 IBOutlet id o_ctx_menu;
43 IBOutlet id o_mi_play;
44 IBOutlet id o_mi_delete;
45 IBOutlet id o_mi_selectall;
48 - (NSMenu *)menuForEvent:(NSEvent *)o_event;
50 - (IBAction)playItem:(id)sender;
51 - (IBAction)deleteItems:(id)sender;
52 - (IBAction)selectAll:(id)sender;
54 - (void)appendArray:(NSArray*)o_array atPos:(int)i_pos;
55 - (void)playlistUpdated;