author | Eckhart Koeppen <eckhart.koppen@nokia.com> |
Fri, 16 Apr 2010 11:39:52 +0300 | |
branch | RCL_3 |
changeset 9 | 740e5562c97f |
parent 3 | 41300fa6a67c |
permissions | -rw-r--r-- |
0 | 1 |
/* This file is part of the KDE project |
2 |
Copyright (C) 2007 Matthias Kretz <kretz@kde.org> |
|
3 |
Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). <thierry.bastian@trolltech.com> |
|
4 |
||
5 |
This library is free software; you can redistribute it and/or |
|
6 |
modify it under the terms of the GNU Lesser General Public |
|
7 |
License as published by the Free Software Foundation; either |
|
8 |
version 2.1 of the License, or (at your option) version 3, or any |
|
9 |
later version accepted by the membership of KDE e.V. (or its |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
10 |
successor approved by the membership of KDE e.V.), Nokia Corporation |
0 | 11 |
(or its successors, if any) and the KDE Free Qt Foundation, which shall |
12 |
act as a proxy defined in Section 6 of version 3 of the license. |
|
13 |
||
14 |
This library 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 GNU |
|
17 |
Lesser General Public License for more details. |
|
18 |
||
19 |
You should have received a copy of the GNU Lesser General Public |
|
20 |
License along with this library. If not, see <http://www.gnu.org/licenses/>. |
|
21 |
||
22 |
*/ |
|
23 |
||
24 |
#ifndef PHONON_MEDIANODE_H |
|
25 |
#define PHONON_MEDIANODE_H |
|
26 |
||
27 |
#include "phonondefs.h" |
|
28 |
#include "phonon_export.h" |
|
29 |
#include "path.h" |
|
30 |
||
31 |
QT_BEGIN_HEADER |
|
32 |
QT_BEGIN_NAMESPACE |
|
33 |
||
34 |
namespace Phonon |
|
35 |
{ |
|
36 |
||
37 |
class Path; |
|
38 |
class MediaNodePrivate; |
|
39 |
class PHONON_EXPORT MediaNode |
|
40 |
{ |
|
41 |
friend class Path; |
|
42 |
friend class PathPrivate; |
|
43 |
friend PHONON_EXPORT Path createPath(MediaNode *source, MediaNode *sink); |
|
44 |
K_DECLARE_PRIVATE(MediaNode) |
|
45 |
public: |
|
46 |
virtual ~MediaNode(); |
|
47 |
/** |
|
48 |
* Tells whether the backend provides an implementation of this |
|
49 |
* class. |
|
50 |
* |
|
51 |
* \return \c true if backend provides an implementation |
|
52 |
* \return \c false if the object is not implemented by the backend |
|
53 |
*/ |
|
54 |
bool isValid() const; |
|
55 |
||
56 |
QList<Path> inputPaths() const; |
|
57 |
QList<Path> outputPaths() const; |
|
58 |
||
59 |
protected: |
|
60 |
MediaNode(MediaNodePrivate &dd); |
|
61 |
MediaNodePrivate *const k_ptr; |
|
62 |
}; |
|
63 |
||
64 |
} // namespace Phonon |
|
65 |
||
66 |
QT_END_NAMESPACE |
|
67 |
QT_END_HEADER |
|
68 |
||
69 |
#endif // PHONON_MEDIANODE_H |