]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/dialogs/sout.hpp
Removes trailing spaces. Removes tabs.
[vlc] / modules / gui / qt4 / dialogs / sout.hpp
index 94b06e38a408aeb37f861c3661f5aa6b54fd1986..110310245abfc1f8782c2e392ada011ea5d4c06b 100644 (file)
@@ -1,15 +1,15 @@
 /*****************************************************************************
- * sout.hpp : Stream output dialog (old-style, ala WX)
+ * sout.hpp : Stream output dialog ( old-style, ala WX )
  ****************************************************************************
- * Copyright (C) 2006 the VideoLAN team
- * $Id: Errors.hpp 16024 2006-07-13 13:51:05Z xtophe $
+ * Copyright ( C ) 2006 the VideoLAN team
+ * $Id$
  *
  * Authors: ClĂ©ment Stenac <zorglub@videolan.org>
  *
  * 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.
+ * ( 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
  *
  * 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., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
 
 #ifndef _SOUT_DIALOG_H_
 #define _SOUT_DIALOG_H_
+
 #include <vlc/vlc.h>
+#include <vlc_streaming.h>
+
 #include "ui/sout.h"
 #include "util/qvlcframe.hpp"
 
@@ -31,18 +35,35 @@ class QCheckBox;
 class QGridLayout;
 class QTextEdit;
 
-class SoutDialog : public QVLCFrame
+class SoutDialog : public QVLCDialog
 {
     Q_OBJECT;
 public:
-    SoutDialog( intf_thread_t * );
+    SoutDialog( QWidget* parent, intf_thread_t *,
+                bool _transcode_only = false );
+    virtual ~SoutDialog() {}
+
+    QString getMrl();
+    //sout_gui_descr_t *sout;
 private:
     Ui::Sout ui;
+    QPushButton *okButton;
+    QString mrl;
+    bool b_transcode_only;
+
 public slots:
+    void updateMRL();
+
+private slots:
     void ok();
     void cancel();
-    void updateMRL();
+    void toggleSout();
+    void setOptions();
     void fileBrowse();
+    void setVTranscodeOptions( bool );
+    void setATranscodeOptions( bool );
+    void setSTranscodeOptions( bool );
+    void setRawOptions( bool );
 };
 
 #endif