phonon/medianode.h Source File

medianode.h
Go to the documentation of this file.
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
10  successor approved by the membership of KDE e.V.), Nokia Corporation
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 
33 
34 namespace Phonon
35 {
36 
37  class Path;
38  class MediaNodePrivate;
40  {
41  friend class Path;
42  friend class PathPrivate;
43  friend PHONON_EXPORT Path createPath(MediaNode *source, MediaNode *sink);
45  public:
46  virtual ~MediaNode();
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 
68 
69 #endif // PHONON_MEDIANODE_H
GLsizei GLsizei GLchar * source
Definition: GLee.h:1721
#define QT_END_NAMESPACE
Definition: qglobal.h:128
#define QT_BEGIN_HEADER
Definition: qglobal.h:141
GLsizei GLenum GLboolean sink
Definition: GLee.h:901
#define QT_BEGIN_NAMESPACE
Definition: qglobal.h:127
The KDE Multimedia classes.
#define K_DECLARE_PRIVATE(Class)
Definition: phonondefs.h:46
#define PHONON_EXPORT
Definition: phonon_export.h:38
#define QT_END_HEADER
Definition: qglobal.h:142
Connection object providing convenient effect insertion.
Definition: path.h:63