1 /*****************************************************************************
2 * dialogs.h: Dialogs class
3 *****************************************************************************
4 * Copyright (C) 2003 VideoLAN
5 * $Id: dialogs.h,v 1.6 2003/06/11 10:42:34 gbazin Exp $
7 * Authors: Gildas Bazin <gbazin@netcourrier.com>
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,
23 *****************************************************************************/
25 #ifndef VLC_SKIN_DIALOGS
26 #define VLC_SKIN_DIALOGS
28 //--- GENERAL ---------------------------------------------------------------
32 //---------------------------------------------------------------------------
35 #if !defined(MODULE_NAME_IS_basic_skins)
37 #ifdef WIN32 /* mingw32 hack */
41 /* Let vlc take care of the i18n stuff */
42 #define WXINTL_NO_GETTEXT_MACRO
52 typedef struct dialogs_thread_t
55 intf_thread_t * p_intf;
61 //---------------------------------------------------------------------------
65 intf_thread_t *p_intf;
69 Dialogs( intf_thread_t *_p_intf );
74 void ShowOpen( bool b_play );
81 vlc_bool_t b_popup_change;
83 #if !defined(MODULE_NAME_IS_basic_skins)
86 Messages *MessagesDlg;
87 PrefsDialog *PrefsDlg;
88 FileInfo *FileInfoDlg;
90 dialogs_thread_t *p_thread;
92 void OnShowOpen( wxCommandEvent& event );
93 void OnShowOpenSkin( wxCommandEvent& event );
94 void OnShowMessages( wxCommandEvent& event );
95 void OnShowPrefs( wxCommandEvent& event );
96 void OnShowFileInfo( wxCommandEvent& event );
97 void OnShowPopup( wxCommandEvent& event );
98 void OnExitThread( wxCommandEvent& event );
101 //---------------------------------------------------------------------------