* stream.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2004 VideoLAN
- * $Id: streamwizard.cpp,v 1.6 2004/01/29 17:51:08 zorglub Exp $
+ * $Id: streamwizard.cpp,v 1.7 2004/03/01 18:31:13 gbazin Exp $
*
* Authors: Clément Stenac <zorglub@videolan.org>
*
#include <wx/statline.h>
-
#define STREAM_INTRO N_( "Stream with VLC in three steps." )
#define STREAM_STEP1 N_( "Step 1: Select what to stream." )
#define STREAM_STEP2 N_( "Step 2: Define streaming method." )
#define STREAM_STEP3 N_( "Step 3: Start streaming." )
-
/*****************************************************************************
* Event Table.
*****************************************************************************/
start_button = new wxButton( panel,
Start_Event, wxU(_("Start!")));
-
step2_label->Disable();
step3_label->Disable();
{
if( !p_open_dialog )
{
- p_open_dialog = new OpenDialog(
- p_intf, this, FILE_ACCESS, 1 , OPEN_STREAM );
+ p_open_dialog =
+ new OpenDialog( p_intf, this, FILE_ACCESS, 1 , OPEN_STREAM );
}
if( p_open_dialog)
}
}
- playlist_AddItem( p_playlist, p_item,
- PLAYLIST_APPEND | (i ? 0 : PLAYLIST_GO), PLAYLIST_END );
+ playlist_AddItem( p_playlist, p_item,
+ PLAYLIST_APPEND | (i ? 0 : PLAYLIST_GO),
+ PLAYLIST_END );
- msg_Dbg(p_intf,"playings %s",
- (const char *)p_open_dialog->mrl[i].mb_str());
+ msg_Dbg( p_intf,"playings %s",
+ (const char *)p_open_dialog->mrl[i].mb_str() );
i += i_options;
}
Hide();
}
-
void StreamDialog::OnClose( wxCommandEvent& event )
{
Hide();