]> git.sesse.net Git - vlc/blob - modules/gui/macosx/playlistinfo.h
b845ff3b3f7bb8caab718149c14d66e103d8ddc1
[vlc] / modules / gui / macosx / playlistinfo.h
1 /*****************************************************************************
2  * playlistinfo.h: MacOS X interface module
3  *****************************************************************************
4  * Copyright (C) 2002-2004 VideoLAN
5  * $Id: playlist.h 7015 2004-03-08 15:22:58Z bigben $
6  *
7  * Authors: Benjamin Pracht <bigben at videolan dot org> 
8  *
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.
13  * 
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.
18  *
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  *****************************************************************************/
23
24 /*****************************************************************************
25  * VLCPlaylistInfo interface 
26  *****************************************************************************/
27
28
29 @interface VLCPlaylistInfo : NSObject
30 {
31     IBOutlet id o_info_window;
32     IBOutlet id o_uri_lbl;
33     IBOutlet id o_title_lbl;
34     IBOutlet id o_author_lbl;
35     IBOutlet id o_uri_txt;
36     IBOutlet id o_title_txt;
37     IBOutlet id o_author_txt;
38     IBOutlet id o_btn_info_ok;
39     IBOutlet id o_btn_info_cancel;
40     IBOutlet id o_btn_delete_group;
41     IBOutlet id o_btn_add_group;
42     IBOutlet id o_outline_view;
43     IBOutlet id o_vlc_playlist;
44     IBOutlet id o_group_lbl;
45     IBOutlet id o_group_cbx;
46     IBOutlet id o_group_color;
47 }
48
49 - (IBAction)togglePlaylistInfoPanel:(id)sender;
50 - (IBAction)infoCancel:(id)sender;
51 - (IBAction)infoOk:(id)sender;
52 - (IBAction)handleGroup:(id)sender;
53 - (IBAction)deleteOutlineGroup:(id)sender;
54 - (IBAction)createOutlineGroup:(id)sender;
55 - (void)createComboBox;
56
57 @end
58
59 @interface VLCInfoTreeItem : NSObject
60 {
61     NSString *o_name;
62     NSString *o_value;
63     int i_object_id;
64     int i_item;
65     VLCInfoTreeItem *o_parent;
66     NSMutableArray *o_children;
67 }
68
69 + (VLCInfoTreeItem *)rootItem;
70 - (int)numberOfChildren;
71 - (VLCInfoTreeItem *)childAtIndex:(int)i_index;
72 - (NSString *)getName;
73 - (NSString *)getValue;
74 - (void)refresh;
75
76 @end
77