]> git.sesse.net Git - vlc/blob - modules/gui/skins/src/dialogs.h
* modules/gui/wxwindows/*, include/vlc_interface.h: new generic "open file" dialog.
[vlc] / modules / gui / skins / src / dialogs.h
1 /*****************************************************************************
2  * dialogs.h: Dialogs class
3  *****************************************************************************
4  * Copyright (C) 2003 VideoLAN
5  * $Id: dialogs.h,v 1.8 2003/07/20 10:38:49 gbazin Exp $
6  *
7  * Authors: Gildas Bazin <gbazin@netcourrier.com>
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,
22  * USA.
23  *****************************************************************************/
24
25 #ifndef VLC_SKIN_DIALOGS
26 #define VLC_SKIN_DIALOGS
27
28 //--- GENERAL ---------------------------------------------------------------
29 #include <string>
30 using namespace std;
31
32 //---------------------------------------------------------------------------
33 struct intf_thread_t;
34
35 //---------------------------------------------------------------------------
36 class Dialogs
37 {
38     protected:
39         intf_thread_t *p_intf;
40
41     public:
42         // Constructor
43         Dialogs( intf_thread_t *_p_intf );
44
45         // Destructor
46         virtual ~Dialogs();
47
48         void ShowOpen( bool b_play );
49         void ShowOpenSkin( bool b_block );
50         void ShowMessages();
51         void ShowPrefs();
52         void ShowFileInfo();
53         void ShowPopup();
54
55         vlc_bool_t b_popup_change;
56
57     private:
58         /* Dialogs provider module */
59         intf_thread_t *p_provider;
60         module_t *p_module;
61 };
62
63 //---------------------------------------------------------------------------
64
65 #endif