Phonon

experimental/objectdescription.h
1/* This file is part of the KDE project
2 Copyright © 2008 Matthias Kretz <kretz@kde.org>
3 Copyright © 2010 Harald Sitter <apachelogger@ubuntu.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#ifndef PHONON_EXPERIMENTAL_OBJECTDESCRIPTION_H
24#define PHONON_EXPERIMENTAL_OBJECTDESCRIPTION_H
25
26#include "../objectdescription.h"
27
28namespace Phonon
29{
30namespace Experimental
31{
32
33#ifndef PHONON_NO_VIDEOCAPTURE
34
35enum ObjectDescriptionType
36{
37 VideoCaptureDeviceType = 0x10000
38};
39
40typedef Phonon::ObjectDescription<static_cast<Phonon::ObjectDescriptionType>(Phonon::Experimental::VideoCaptureDeviceType)> VideoCaptureDevice;
41
42VideoCaptureDevice phononVcdToExperimentalVcd(const Phonon::VideoCaptureDevice &vcd);
43
44/**
45 * Generates a Phonon::VideoCaptureDevice from an equal object of
46 * the Phonon::Experimental namespace.
47 *
48 * @arg vcd the VideoCaptureDevice to take as reference
49 * @return a Phonon::VideoCaptureDevice instance with the same properties as the incoming vcd
50 */
51Phonon::VideoCaptureDevice phononExperimentalVcdToVcd(const Phonon::Experimental::VideoCaptureDevice &vcd);
52
53#endif // PHONON_NO_VIDEOCAPTURE
54
55} // namespace Experimental
56} // namespace Phonon
57
58#endif // PHONON_EXPERIMENTAL_OBJECTDESCRIPTION_H
Provides a tuple of enduser visible name and description.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:20:24 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.