1 #include "playerfactory.h"
3 PlayerFactory::PlayerFactory(QObject
* parent
)
6 setObjectName("PlayerFactory");
9 PollingPlayerFactory::PollingPlayerFactory(QObject
* parent
)
10 : PlayerFactory(parent
)
12 setObjectName("PollingPlayerFactory");
15 DBusPlayerFactory::DBusPlayerFactory(QObject
* parent
)
16 : PlayerFactory(parent
)
18 setObjectName("DBusPlayerFactory");
21 Player::Ptr
DBusPlayerFactory::create(const QString
& serviceName
)
23 return create(QVariantList() << QVariant(serviceName
));
26 #include "playerfactory.moc"