]> git.sesse.net Git - vlc/blob - modules/gui/qt4/dialogs/vlm.hpp
f998c791b6a61fe092a121fce16f8f3fa2793b58
[vlc] / modules / gui / qt4 / dialogs / vlm.hpp
1 /*****************************************************************************
2  * vlm.hpp : Stream output dialog ( old-style, ala WX )
3  ****************************************************************************
4  * Copyright ( C ) 2006 the VideoLAN team
5  * $Id: vlm.hpp 21875 2007-09-08 16:01:33Z jb $
6  *
7  * Authors: Jean-François Massol <jf.massol@gmail.com>
8  *
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.
13  *
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.
18  *
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  *****************************************************************************/
23
24 #ifndef _VLM_DIALOG_H_
25 #define _VLM_DIALOG_H_
26
27 #include <vlc/vlc.h>
28
29 #include "ui/vlm.h"
30 #include "util/qvlcframe.hpp"
31
32
33 class VLMDialog : public QVLCFrame
34 {
35     Q_OBJECT;
36 public:
37     static VLMDialog * getInstance( intf_thread_t *p_intf )
38     {
39         if( !instance)
40              instance = new VLMDialog( p_intf );
41         return instance;
42     };
43     virtual ~VLMDialog();
44     
45 private:
46     VLMDialog( intf_thread_t *);
47     static VLMDialog *instance;
48     Ui::Vlm ui;
49
50 private slots:
51     void close();
52 };
53
54 #endif