]> git.sesse.net Git - vlc/commitdiff
Some skeleton files for playlist
authorClément Stenac <zorglub@videolan.org>
Tue, 20 Jun 2006 06:04:43 +0000 (06:04 +0000)
committerClément Stenac <zorglub@videolan.org>
Tue, 20 Jun 2006 06:04:43 +0000 (06:04 +0000)
modules/gui/qt4/components/playlist/panels.hpp [new file with mode: 0644]
modules/gui/qt4/components/playlist/selector.hpp [new file with mode: 0644]
modules/gui/qt4/components/playlist/standardpanel.cpp [new file with mode: 0644]

diff --git a/modules/gui/qt4/components/playlist/panels.hpp b/modules/gui/qt4/components/playlist/panels.hpp
new file mode 100644 (file)
index 0000000..ada46d5
--- /dev/null
@@ -0,0 +1,53 @@
+/*****************************************************************************
+ * panels.hpp : Panels for the playlist
+ ****************************************************************************
+ * Copyright (C) 2000-2005 the VideoLAN team
+ * $Id: wxwidgets.cpp 15731 2006-05-25 14:43:53Z zorglub $
+ *
+ * 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.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * 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.
+ *****************************************************************************/
+
+#ifndef _PLPANELS_H_
+#define _PLPANELS_H_
+
+#include <vlc/vlc.h>
+#include <QWidget>
+#include <QString>
+
+class PLPanel: public QWidget
+{
+    Q_OBJECT;
+public:
+    PLPanel( QWidget *p, intf_thread_t *_p_intf ) : QWidget( p )
+    {
+        p_intf = _p_intf;
+    }
+    virtual ~PLPanel();
+private:
+    intf_thread_t *p_intf;
+};
+
+
+class StandardPLPanel: public PLPanel
+{
+    Q_OBJECT;
+public:
+    StandardPLPanel( QWidget *, intf_thread_t * );
+    virtual ~StandardPLPanel();
+};
+
+#endif
diff --git a/modules/gui/qt4/components/playlist/selector.hpp b/modules/gui/qt4/components/playlist/selector.hpp
new file mode 100644 (file)
index 0000000..785bd31
--- /dev/null
@@ -0,0 +1,44 @@
+/*****************************************************************************
+ * selector.hpp : Playlist source selector
+ ****************************************************************************
+ * Copyright (C) 2000-2005 the VideoLAN team
+ * $Id: wxwidgets.cpp 15731 2006-05-25 14:43:53Z zorglub $
+ *
+ * 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.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * 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.
+ *****************************************************************************/
+
+#ifndef _PLSEL_H_
+#define _PLSEL_H_
+
+#include <vlc/vlc.h>
+#include <QWidget>
+#include <QString>
+
+class PLSelector: public QWidget
+{
+    Q_OBJECT;
+public:
+    PLSelector( QWidget *p, intf_thread_t *_p_intf ) : QWidget( p )
+    {
+        p_intf = _p_intf;
+    }
+    virtual ~PLSelector();
+private:
+    intf_thread_t *p_intf;
+};
+
+#endif
diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp
new file mode 100644 (file)
index 0000000..b5e8c68
--- /dev/null
@@ -0,0 +1,34 @@
+/*****************************************************************************
+ * standardpanel.cpp : The "standard" playlist panel : just a treeview
+ ****************************************************************************
+ * Copyright (C) 2000-2005 the VideoLAN team
+ * $Id: wxwidgets.cpp 15731 2006-05-25 14:43:53Z zorglub $
+ *
+ * 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.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * 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.
+ *****************************************************************************/
+
+#include "components/playlist/panels.hpp"
+
+StandardPLPanel::StandardPLPanel( QWidget *_parent, intf_thread_t *_p_intf ):
+                                  PLPanel( _parent, _p_intf )
+{
+}
+
+StandardPLPanel::~StandardPLPanel()
+{}
+
+#endif