playlist.h 2.1 KB
Newer Older
Renaud Dartus's avatar
Renaud Dartus committed
1
/*****************************************************************************
2
 * playlist.h: MacOS X interface plugin
Renaud Dartus's avatar
Renaud Dartus committed
3
 *****************************************************************************
4
 * Copyright (C) 2002 VideoLAN
hartman's avatar
ALL:    
hartman committed
5
 * $Id: playlist.h,v 1.5 2003/02/13 14:16:41 hartman Exp $
Renaud Dartus's avatar
Renaud Dartus committed
6
 *
7
 * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
hartman's avatar
hartman committed
8
 *          Derk-Jan Hartman <thedj@users.sourceforge.net>
Renaud Dartus's avatar
Renaud Dartus committed
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 *
 * 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
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
 *****************************************************************************/

25
26
27
28
/*****************************************************************************
 * VLCPlaylistView interface 
 *****************************************************************************/
@interface VLCPlaylistView : NSTableView
29
{
Sam Hocevar's avatar
   
Sam Hocevar committed
30

31
32
33
34
35
36
37
38
}

@end

/*****************************************************************************
 * VLCPlaylist interface 
 *****************************************************************************/
@interface VLCPlaylist : NSObject
39
{
40
    IBOutlet id o_table_view;
Jon Lech Johansen's avatar
Jon Lech Johansen committed
41
42
43
44
45
46

    IBOutlet id o_ctx_menu;

    IBOutlet id o_mi_play;
    IBOutlet id o_mi_delete;
    IBOutlet id o_mi_selectall;
hartman's avatar
hartman committed
47
48
49
    
    IBOutlet id o_btn_add;
    IBOutlet id o_btn_remove;
50
51
}

Jon Lech Johansen's avatar
Jon Lech Johansen committed
52
53
54
55
56
57
- (NSMenu *)menuForEvent:(NSEvent *)o_event;

- (IBAction)playItem:(id)sender;
- (IBAction)deleteItems:(id)sender;
- (IBAction)selectAll:(id)sender;

58
- (void)appendArray:(NSArray*)o_array atPos:(int)i_pos enqueue:(BOOL)b_enqueue;
Jon Lech Johansen's avatar
Jon Lech Johansen committed
59
- (void)playlistUpdated;
hartman's avatar
ALL:    
hartman committed
60
- (void)updateState;
61

62
@end