-/*****************************************************************************\r
- * dialogs.h: Dialogs class\r
- *****************************************************************************\r
- * Copyright (C) 2003 VideoLAN\r
- * $Id: dialogs.h,v 1.4 2003/06/08 16:56:48 gbazin Exp $\r
- *\r
- * Authors: Gildas Bazin <gbazin@netcourrier.com>\r
- *\r
- * This program is free software; you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 2 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111,\r
- * USA.\r
- *****************************************************************************/\r
-\r
-#ifndef VLC_SKIN_DIALOGS\r
-#define VLC_SKIN_DIALOGS\r
-\r
-//--- GENERAL ---------------------------------------------------------------\r
-#include <string>\r
-using namespace std;\r
-\r
-//---------------------------------------------------------------------------\r
-struct intf_thread_t;\r
-\r
-#ifndef BASIC_SKINS\r
-\r
-#ifdef WIN32 /* mingw32 hack */\r
-# undef Yield\r
-# undef CreateDialog\r
-#endif\r
-/* Let vlc take care of the i18n stuff */\r
-#define WXINTL_NO_GETTEXT_MACRO\r
-#include <wx/wx.h>\r
-\r
-class OpenDialog;\r
-class Messages;\r
-class SoutDialog;\r
-class PrefsDialog;\r
-class FileInfo;\r
-class wxIcon;\r
-\r
-typedef struct dialogs_thread_t\r
-{\r
- VLC_COMMON_MEMBERS\r
- intf_thread_t * p_intf;\r
-\r
-} dialogs_thread_t;\r
-\r
-#endif\r
-\r
-//---------------------------------------------------------------------------\r
-class Dialogs\r
-{\r
- protected:\r
- intf_thread_t *p_intf;\r
-\r
- public:\r
- // Constructor\r
- Dialogs( intf_thread_t *_p_intf );\r
-\r
- // Destructor\r
- virtual ~Dialogs();\r
-\r
- void ShowOpen( bool b_play );\r
- void ShowOpenSkin();\r
- void ShowMessages();\r
- void ShowPrefs();\r
- void ShowFileInfo();\r
- void ShowPopup();\r
-\r
- vlc_bool_t b_popup_change;\r
-\r
-#ifndef BASIC_SKINS\r
- // Dialogs\r
- OpenDialog *OpenDlg;\r
- Messages *MessagesDlg;\r
- PrefsDialog *PrefsDlg;\r
- FileInfo *FileInfoDlg;\r
-\r
- dialogs_thread_t *p_thread;\r
-\r
- void OnShowOpen( wxCommandEvent& event );\r
- void OnShowOpenSkin( wxCommandEvent& event );\r
- void OnShowMessages( wxCommandEvent& event );\r
- void OnShowPrefs( wxCommandEvent& event );\r
- void OnShowFileInfo( wxCommandEvent& event );\r
- void OnShowPopup( wxCommandEvent& event );\r
- void OnExitThread( wxCommandEvent& event );\r
-#endif\r
-};\r
-//---------------------------------------------------------------------------\r
-\r
-#endif\r
+/*****************************************************************************
+ * dialogs.h: Dialogs class
+ *****************************************************************************
+ * Copyright (C) 2003 VideoLAN
+ * $Id: dialogs.h,v 1.5 2003/06/10 11:43:40 gbazin Exp $
+ *
+ * Authors: Gildas Bazin <gbazin@netcourrier.com>
+ *
+ * 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.
+ *****************************************************************************/
+
+#ifndef VLC_SKIN_DIALOGS
+#define VLC_SKIN_DIALOGS
+
+//--- GENERAL ---------------------------------------------------------------
+#include <string>
+using namespace std;
+
+//---------------------------------------------------------------------------
+struct intf_thread_t;
+
+#ifndef BASIC_SKINS
+
+#ifdef WIN32 /* mingw32 hack */
+# undef Yield
+# undef CreateDialog
+#endif
+/* Let vlc take care of the i18n stuff */
+#define WXINTL_NO_GETTEXT_MACRO
+#include <wx/wx.h>
+
+class OpenDialog;
+class Messages;
+class SoutDialog;
+class PrefsDialog;
+class FileInfo;
+class wxIcon;
+
+typedef struct dialogs_thread_t
+{
+ VLC_COMMON_MEMBERS
+ intf_thread_t * p_intf;
+
+} dialogs_thread_t;
+
+#endif
+
+//---------------------------------------------------------------------------
+class Dialogs
+{
+ protected:
+ intf_thread_t *p_intf;
+
+ public:
+ // Constructor
+ Dialogs( intf_thread_t *_p_intf );
+
+ // Destructor
+ virtual ~Dialogs();
+
+ void ShowOpen( bool b_play );
+ void ShowOpenSkin();
+ void ShowMessages();
+ void ShowPrefs();
+ void ShowFileInfo();
+ void ShowPopup();
+
+ vlc_bool_t b_popup_change;
+
+#ifndef BASIC_SKINS
+ // Dialogs
+ OpenDialog *OpenDlg;
+ Messages *MessagesDlg;
+ PrefsDialog *PrefsDlg;
+ FileInfo *FileInfoDlg;
+
+ dialogs_thread_t *p_thread;
+
+ void OnShowOpen( wxCommandEvent& event );
+ void OnShowOpenSkin( wxCommandEvent& event );
+ void OnShowMessages( wxCommandEvent& event );
+ void OnShowPrefs( wxCommandEvent& event );
+ void OnShowFileInfo( wxCommandEvent& event );
+ void OnShowPopup( wxCommandEvent& event );
+ void OnExitThread( wxCommandEvent& event );
+#endif
+};
+//---------------------------------------------------------------------------
+
+#endif