1 /*****************************************************************************
2 * sout_widgets.hpp : Widgets for stream output destination boxes
3 ****************************************************************************
4 * Copyright (C) 2009 the VideoLAN team
7 * Authors: Jean-Baptiste Kempf <jb@videolan.org>
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., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 #ifndef SOUT_WIDGETS_H
25 #define SOUT_WIDGETS_H
35 class SoutInputBox : public QGroupBox
38 SoutInputBox( QWidget *_parent = NULL, const QString& mrl = "" );
40 void setMRL( const QString& );
42 QLineEdit *sourceLine;
43 QLabel *sourceValueLabel;
47 class VirtualDestBox : public QWidget
51 VirtualDestBox( QWidget *_parent = NULL ) : QWidget( _parent ){}
52 virtual QString getMRL( const QString& ) = 0;
59 class FileDestBox: public VirtualDestBox
63 FileDestBox( QWidget *_parent = NULL );
64 virtual QString getMRL( const QString& );
71 class HTTPDestBox: public VirtualDestBox
75 HTTPDestBox( QWidget *_parent = NULL );
76 virtual QString getMRL( const QString& );
82 class MMSHDestBox: public VirtualDestBox
86 MMSHDestBox( QWidget *_parent = NULL );
87 virtual QString getMRL( const QString& );
93 class RTSPDestBox: public VirtualDestBox
97 RTSPDestBox( QWidget *_parent = NULL );
98 virtual QString getMRL( const QString& );
104 class UDPDestBox: public VirtualDestBox
108 UDPDestBox( QWidget *_parent = NULL );
109 virtual QString getMRL( const QString& );
115 class RTPDestBox: public VirtualDestBox
119 RTPDestBox( QWidget *_parent = NULL, const char *mux = NULL );
120 virtual QString getMRL( const QString& );
127 class ICEDestBox: public VirtualDestBox
131 ICEDestBox( QWidget *_parent = NULL );
132 virtual QString getMRL( const QString& );
135 QLineEdit *ICEMountEdit;
136 QLineEdit *ICEPassEdit;