Commit 894e084c authored by Laurent Aimar's avatar Laurent Aimar

Deactivated VLM control by wx while I clean it. (It uses private fields

of VLM that should not have been public)
parent 320e6b5e
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include "vlc_charset.h" #include "vlc_charset.h"
#include "dialogs/vlm/vlm_panel.hpp" //#include "dialogs/vlm/vlm_panel.hpp"
#include "dialogs/bookmarks.hpp" #include "dialogs/bookmarks.hpp"
#include "dialogs/wizard.hpp" #include "dialogs/wizard.hpp"
#include "dialogs/playlist.hpp" #include "dialogs/playlist.hpp"
...@@ -67,7 +67,7 @@ private: ...@@ -67,7 +67,7 @@ private:
/* Event handlers (these functions should _not_ be virtual) */ /* Event handlers (these functions should _not_ be virtual) */
void OnUpdateVLC( wxCommandEvent& event ); void OnUpdateVLC( wxCommandEvent& event );
void OnVLM( wxCommandEvent& event ); //void OnVLM( wxCommandEvent& event );
void OnInteraction( wxCommandEvent& event ); void OnInteraction( wxCommandEvent& event );
void OnExit( wxCommandEvent& event ); void OnExit( wxCommandEvent& event );
void OnPlaylist( wxCommandEvent& event ); void OnPlaylist( wxCommandEvent& event );
...@@ -112,7 +112,7 @@ public: ...@@ -112,7 +112,7 @@ public:
wxFrame *p_bookmarks_dialog; wxFrame *p_bookmarks_dialog;
wxFileDialog *p_file_generic_dialog; wxFileDialog *p_file_generic_dialog;
UpdateVLC *p_updatevlc_dialog; UpdateVLC *p_updatevlc_dialog;
VLMFrame *p_vlm_dialog; //VLMFrame *p_vlm_dialog;
}; };
} }
...@@ -161,8 +161,10 @@ BEGIN_EVENT_TABLE(DialogsProvider, wxFrame) ...@@ -161,8 +161,10 @@ BEGIN_EVENT_TABLE(DialogsProvider, wxFrame)
DialogsProvider::OnExitThread) DialogsProvider::OnExitThread)
EVT_COMMAND(INTF_DIALOG_UPDATEVLC, wxEVT_DIALOG, EVT_COMMAND(INTF_DIALOG_UPDATEVLC, wxEVT_DIALOG,
DialogsProvider::OnUpdateVLC) DialogsProvider::OnUpdateVLC)
#if 0
EVT_COMMAND(INTF_DIALOG_VLM, wxEVT_DIALOG, EVT_COMMAND(INTF_DIALOG_VLM, wxEVT_DIALOG,
DialogsProvider::OnVLM) DialogsProvider::OnVLM)
#endif
EVT_COMMAND( INTF_DIALOG_INTERACTION, wxEVT_DIALOG, EVT_COMMAND( INTF_DIALOG_INTERACTION, wxEVT_DIALOG,
DialogsProvider::OnInteraction ) DialogsProvider::OnInteraction )
END_EVENT_TABLE() END_EVENT_TABLE()
...@@ -191,7 +193,7 @@ DialogsProvider::DialogsProvider( intf_thread_t *_p_intf, wxWindow *p_parent ) ...@@ -191,7 +193,7 @@ DialogsProvider::DialogsProvider( intf_thread_t *_p_intf, wxWindow *p_parent )
p_bookmarks_dialog = NULL; p_bookmarks_dialog = NULL;
p_dir_dialog = NULL; p_dir_dialog = NULL;
p_updatevlc_dialog = NULL; p_updatevlc_dialog = NULL;
p_vlm_dialog = NULL; //p_vlm_dialog = NULL;
/* Give our interface a nice little icon */ /* Give our interface a nice little icon */
p_intf->p_sys->p_icon = new wxIcon( vlc_xpm ); p_intf->p_sys->p_icon = new wxIcon( vlc_xpm );
...@@ -263,7 +265,7 @@ DialogsProvider::~DialogsProvider() ...@@ -263,7 +265,7 @@ DialogsProvider::~DialogsProvider()
if( p_wizard_dialog ) delete p_wizard_dialog; if( p_wizard_dialog ) delete p_wizard_dialog;
if( p_bookmarks_dialog ) delete p_bookmarks_dialog; if( p_bookmarks_dialog ) delete p_bookmarks_dialog;
if( p_updatevlc_dialog ) delete p_updatevlc_dialog; if( p_updatevlc_dialog ) delete p_updatevlc_dialog;
if( p_vlm_dialog ) delete p_vlm_dialog; //if( p_vlm_dialog ) delete p_vlm_dialog;
if( p_intf->p_sys->p_icon ) delete p_intf->p_sys->p_icon; if( p_intf->p_sys->p_icon ) delete p_intf->p_sys->p_icon;
...@@ -562,6 +564,7 @@ void DialogsProvider::OnUpdateVLC( wxCommandEvent& WXUNUSED(event) ) ...@@ -562,6 +564,7 @@ void DialogsProvider::OnUpdateVLC( wxCommandEvent& WXUNUSED(event) )
} }
} }
#if 0
void DialogsProvider::OnVLM( wxCommandEvent& WXUNUSED(event) ) void DialogsProvider::OnVLM( wxCommandEvent& WXUNUSED(event) )
{ {
/* Show/hide the file info window */ /* Show/hide the file info window */
...@@ -573,6 +576,7 @@ void DialogsProvider::OnVLM( wxCommandEvent& WXUNUSED(event) ) ...@@ -573,6 +576,7 @@ void DialogsProvider::OnVLM( wxCommandEvent& WXUNUSED(event) )
p_vlm_dialog->Show( !p_vlm_dialog->IsShown() ); p_vlm_dialog->Show( !p_vlm_dialog->IsShown() );
} }
} }
#endif
void DialogsProvider::OnInteraction( wxCommandEvent& event ) void DialogsProvider::OnInteraction( wxCommandEvent& event )
{ {
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if 0
#include "dialogs/vlm/vlm_panel.hpp" #include "dialogs/vlm/vlm_panel.hpp"
#include "dialogs/vlm/vlm_wrapper.hpp" #include "dialogs/vlm/vlm_wrapper.hpp"
#include "dialogs/vlm/vlm_stream.hpp" #include "dialogs/vlm/vlm_stream.hpp"
...@@ -576,3 +577,5 @@ VLMEditStreamFrame::VLMEditStreamFrame( intf_thread_t *_p_intf, ...@@ -576,3 +577,5 @@ VLMEditStreamFrame::VLMEditStreamFrame( intf_thread_t *_p_intf,
VLMEditStreamFrame::~VLMEditStreamFrame() VLMEditStreamFrame::~VLMEditStreamFrame()
{ {
} }
#endif
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
/***************************************************************************** /*****************************************************************************
* Preamble * Preamble
*****************************************************************************/ *****************************************************************************/
#if 0
#include "dialogs/vlm/vlm_slider_manager.hpp" #include "dialogs/vlm/vlm_slider_manager.hpp"
#include "dialogs/vlm/vlm_stream.hpp" #include "dialogs/vlm/vlm_stream.hpp"
#include "dialogs/vlm/vlm_streampanel.hpp" #include "dialogs/vlm/vlm_streampanel.hpp"
...@@ -216,3 +217,4 @@ void VLMSliderManager::ProcessUpdate( wxScrollEvent &event ) ...@@ -216,3 +217,4 @@ void VLMSliderManager::ProcessUpdate( wxScrollEvent &event )
#undef WIN32 #undef WIN32
} }
#endif
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if 0
#include "dialogs/vlm/vlm_stream.hpp" #include "dialogs/vlm/vlm_stream.hpp"
#include "dialogs/vlm/vlm_wrapper.hpp" #include "dialogs/vlm/vlm_wrapper.hpp"
...@@ -108,3 +109,4 @@ VLMVODStream::VLMVODStream( intf_thread_t *_p_intf, vlm_media_t *_p_media, ...@@ -108,3 +109,4 @@ VLMVODStream::VLMVODStream( intf_thread_t *_p_intf, vlm_media_t *_p_media,
VLMVODStream::~VLMVODStream() VLMVODStream::~VLMVODStream()
{ {
} }
#endif
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#if 0
#include "dialogs/vlm/vlm_streampanel.hpp" #include "dialogs/vlm/vlm_streampanel.hpp"
#include "dialogs/vlm/vlm_stream.hpp" #include "dialogs/vlm/vlm_stream.hpp"
#include "dialogs/vlm/vlm_slider_manager.hpp" #include "dialogs/vlm/vlm_slider_manager.hpp"
...@@ -201,3 +202,4 @@ VLMVODStreamPanel::VLMVODStreamPanel( intf_thread_t* _p_intf, ...@@ -201,3 +202,4 @@ VLMVODStreamPanel::VLMVODStreamPanel( intf_thread_t* _p_intf,
VLMVODStreamPanel::~VLMVODStreamPanel() VLMVODStreamPanel::~VLMVODStreamPanel()
{ {
} }
#endif
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
/* FIXME: This is not wx-specific */ /* FIXME: This is not wx-specific */
#if 0
#include "dialogs/vlm/vlm_wrapper.hpp" #include "dialogs/vlm/vlm_wrapper.hpp"
VLMWrapper::VLMWrapper( intf_thread_t *_p_intf ) VLMWrapper::VLMWrapper( intf_thread_t *_p_intf )
...@@ -131,3 +132,5 @@ void VLMWrapper::EditVod( const char* name, const char* input, ...@@ -131,3 +132,5 @@ void VLMWrapper::EditVod( const char* name, const char* input,
vlm_MessageDelete( message ); vlm_MessageDelete( message );
} }
} }
#endif
...@@ -301,7 +301,7 @@ enum ...@@ -301,7 +301,7 @@ enum
OnWebLink_Event, OnWebLink_Event,
OnWebHelp_Event, OnWebHelp_Event,
UpdateVLC_Event, UpdateVLC_Event,
VLM_Event, //VLM_Event,
Iconize_Event, Iconize_Event,
}; };
...@@ -315,7 +315,7 @@ BEGIN_EVENT_TABLE(Interface, wxFrame) ...@@ -315,7 +315,7 @@ BEGIN_EVENT_TABLE(Interface, wxFrame)
EVT_MENU(OnWebLink_Event, Interface::OnWebLink) EVT_MENU(OnWebLink_Event, Interface::OnWebLink)
EVT_MENU(OnWebHelp_Event, Interface::OnWebHelp) EVT_MENU(OnWebHelp_Event, Interface::OnWebHelp)
EVT_MENU(UpdateVLC_Event, Interface::OnShowDialog) EVT_MENU(UpdateVLC_Event, Interface::OnShowDialog)
EVT_MENU(VLM_Event, Interface::OnShowDialog) //EVT_MENU(VLM_Event, Interface::OnShowDialog)
EVT_MENU(Playlist_Event, Interface::OnShowDialog) EVT_MENU(Playlist_Event, Interface::OnShowDialog)
EVT_MENU(PlaylistSmall_Event, Interface::OnSmallPlaylist) EVT_MENU(PlaylistSmall_Event, Interface::OnSmallPlaylist)
...@@ -600,8 +600,10 @@ void Interface::CreateOurMenuBar() ...@@ -600,8 +600,10 @@ void Interface::CreateOurMenuBar()
view_menu->Append( Logs_Event, wxU(_("&Messages...\tCtrl-M")) ); view_menu->Append( Logs_Event, wxU(_("&Messages...\tCtrl-M")) );
view_menu->Append( FileInfo_Event, view_menu->Append( FileInfo_Event,
wxU(_("Stream and Media &Info...\tCtrl-I")) ); wxU(_("Stream and Media &Info...\tCtrl-I")) );
#if 0
view_menu->Append( VLM_Event, view_menu->Append( VLM_Event,
wxU(_("VLM Control...\tCtrl-V")) ); wxU(_("VLM Control...\tCtrl-V")) );
#endif
/* Create the "Auto-generated" menus */ /* Create the "Auto-generated" menus */
p_settings_menu = SettingsMenu( p_intf, this ); p_settings_menu = SettingsMenu( p_intf, this );
...@@ -1027,9 +1029,11 @@ void Interface::OnShowDialog( wxCommandEvent& event ) ...@@ -1027,9 +1029,11 @@ void Interface::OnShowDialog( wxCommandEvent& event )
case UpdateVLC_Event: case UpdateVLC_Event:
i_id = INTF_DIALOG_UPDATEVLC; i_id = INTF_DIALOG_UPDATEVLC;
break; break;
#if 0
case VLM_Event: case VLM_Event:
i_id = INTF_DIALOG_VLM; i_id = INTF_DIALOG_VLM;
break; break;
#endif
default: default:
i_id = INTF_DIALOG_FILE; i_id = INTF_DIALOG_FILE;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment