]> git.sesse.net Git - vlc/blob - bindings/phonon/vlc/sinknode.h
Phonon Backend using VLC
[vlc] / bindings / phonon / vlc / sinknode.h
1 /*****************************************************************************
2  * VLC backend for the Phonon library                                        *
3  * Copyright (C) 2007-2008 Tanguy Krotoff <tkrotoff@gmail.com>               *
4  * Copyright (C) 2008 Lukas Durfina <lukas.durfina@gmail.com>                *
5  * Copyright (C) 2009 Fathi Boudra <fabo@kde.org>                            *
6  *                                                                           *
7  * This program is free software; you can redistribute it and/or             *
8  * modify it under the terms of the GNU Lesser General Public                *
9  * License as published by the Free Software Foundation; either              *
10  * version 3 of the License, or (at your option) any later version.          *
11  *                                                                           *
12  * This program is distributed in the hope that it will be useful,           *
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of            *
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU         *
15  * Lesser General Public License for more details.                           *
16  *                                                                           *
17  * You should have received a copy of the GNU Lesser General Public          *
18  * License along with this package; if not, write to the Free Software       *
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA *
20  *****************************************************************************/
21
22 #ifndef PHONON_VLC_SINKNODE_H
23 #define PHONON_VLC_SINKNODE_H
24
25 #include <QtCore/QObject>
26 #include <QtCore/QString>
27
28 namespace Phonon
29 {
30 namespace VLC {
31
32 class VLCMediaObject;
33 typedef VLCMediaObject PrivateMediaObject;
34
35 class SinkNode : public QObject
36 {
37     Q_OBJECT
38
39 public:
40
41     SinkNode(QObject *p_parent);
42     virtual ~SinkNode();
43
44     virtual void connectToMediaObject(PrivateMediaObject *mediaObject);
45
46     virtual void disconnectFromMediaObject(PrivateMediaObject *mediaObject);
47
48 protected:
49
50     PrivateMediaObject *p_media_object;
51
52 private:
53
54 };
55
56 }
57 } // Namespace Phonon::VLC
58
59 #endif // PHONON_VLC_SINKNODE_H