1
/***************************************************************************
2
phononhandlers.cpp - Phonon specific marshallers
4
begin : Sat Jun 28 2008
5
copyright : (C) 2008 by Richard Dale
6
email : richard.j.dale@gmail.com
7
***************************************************************************/
9
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
16
***************************************************************************/
21
#include <smokeruby.h>
22
#include <marshall_macros.h>
24
#include <phonon/effectparameter.h>
25
#include <phonon/mediasource.h>
26
#include <phonon/path.h>
28
DEF_LIST_MARSHALLER( PhononEffectList, QList<Phonon::Effect*>, Phonon::Effect )
30
DEF_VALUELIST_MARSHALLER( PhononAudioChannelDescriptionList, QList<Phonon::AudioChannelDescription>, Phonon::AudioChannelDescription )
31
DEF_VALUELIST_MARSHALLER( PhononEffectParameterList, QList<Phonon::EffectParameter>, Phonon::EffectParameter )
32
DEF_VALUELIST_MARSHALLER( PhononMediaSourceList, QList<Phonon::MediaSource>, Phonon::MediaSource )
33
DEF_VALUELIST_MARSHALLER( PhononPathList, QList<Phonon::Path>, Phonon::Path )
34
DEF_VALUELIST_MARSHALLER( PhononSubtitleDescriptionList, QList<Phonon::SubtitleDescription>, Phonon::SubtitleDescription )
36
TypeHandler Phonon_handlers[] = {
37
{ "QList<Phonon::AudioChannelDescription>", marshall_PhononAudioChannelDescriptionList },
38
{ "QList<Phonon::Effect*>", marshall_PhononEffectList },
39
{ "QList<Phonon::EffectParameter>", marshall_PhononEffectParameterList },
40
{ "QList<Phonon::MediaSource>", marshall_PhononMediaSourceList },
41
{ "QList<Phonon::MediaSource>&", marshall_PhononMediaSourceList },
42
{ "QList<Phonon::Path>", marshall_PhononPathList },
43
{ "QList<Phonon::SubtitleDescription>", marshall_PhononSubtitleDescriptionList },
44
// "QList<QExplicitlySharedDataPointer<Phonon::ObjectDescriptionData> >"
45
// "QList<QExplicitlySharedDataPointer<Phonon::ObjectDescriptionData> >&"