Phonon

experimental/backendcapabilities.cpp
1/* This file is part of the KDE project
2 Copyright (C) 2008 Matthias Kretz <kretz@kde.org>
3
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License as
6 published by the Free Software Foundation; either version 2 of
7 the License or (at your option) version 3 or any later version
8 accepted by the membership of KDE e.V. (or its successor approved
9 by the membership of KDE e.V.), Nokia Corporation (or its successors,
10 if any) and the KDE Free Qt Foundation, which shall act as a proxy
11 defined in Section 14 of version 3 of the license.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
20
21*/
22#include "backendcapabilities.h"
23#include "../backendcapabilities.h"
24#include "globalconfig.h"
25
26namespace Phonon
27{
28namespace Experimental
29{
30
31#ifndef PHONON_NO_VIDEOCAPTURE
32QList<VideoCaptureDevice> BackendCapabilities::availableVideoCaptureDevices()
33{
35 QList<VideoCaptureDevice> experimentalList;
36
38 foreach (const Phonon::VideoCaptureDevice &vcd, phononList) {
39 experimentalList << phononVcdToExperimentalVcd(vcd);
40 }
41
42 return experimentalList;
43}
44#endif
45
46} // namespace Experimental
47} // namespace Phonon
Provides a tuple of enduser visible name and description.
PHONON_EXPORT QList< VideoCaptureDevice > availableVideoCaptureDevices()
Returns the video output devices the backend supports.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 11:53:28 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.