]> git.sesse.net Git - vlc/blob - modules/gui/macosx/interaction.h
* replaced all NSLog-calls by msg_***
[vlc] / modules / gui / macosx / interaction.h
1 /*****************************************************************************
2  * interaction.h: Mac OS X interaction dialogs
3  *****************************************************************************
4  * Copyright (C) 2001-2005 the VideoLAN team
5  * $Id: vout.h 13803 2005-12-18 18:54:28Z bigben $
6  *
7  * Authors: Derk-Jan Hartman <hartman 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., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22  *****************************************************************************/
23 #include <vlc/vlc.h>
24 #include <vlc_interaction.h>
25 #include <Cocoa/Cocoa.h>
26
27 /*****************************************************************************
28  * VLCInteraction interface
29  *****************************************************************************/
30 @interface VLCInteraction : NSObject
31 {
32     interaction_dialog_t    *p_dialog;
33     intf_thread_t * p_intf;
34 }
35
36 -(id)initDialog: (interaction_dialog_t *)_p_dialog;
37 -(void)runDialog;
38 -(void)updateDialog;
39 -(void)hideDialog;
40 -(void)destroyDialog;
41
42 @end
43
44 /*****************************************************************************
45  * VLCInteractionList interface
46  *****************************************************************************/
47 @interface VLCInteractionList : NSObject
48 {
49     NSMutableArray *o_interaction_list;
50 }
51
52 -(void)newInteractionEvent: (NSNotification *)o_notification;
53 -(void)addInteraction: (interaction_dialog_t *)p_dialog;
54 -(void)removeInteraction: (VLCInteraction *)p_interaction;
55
56 @end