Plasma
playerfactory.cpp
Go to the documentation of this file.00001 #include "playerfactory.h" 00002 00003 PlayerFactory::PlayerFactory(QObject* parent) 00004 : QObject(parent) 00005 { 00006 } 00007 00008 PollingPlayerFactory::PollingPlayerFactory(QObject* parent) 00009 : PlayerFactory(parent) 00010 { 00011 } 00012 00013 DBusPlayerFactory::DBusPlayerFactory(QObject* parent) 00014 : PlayerFactory(parent) 00015 { 00016 } 00017 00018 Player::Ptr DBusPlayerFactory::create(const QString& serviceName) 00019 { 00020 return create(QVariantList() << QVariant(serviceName)); 00021 } 00022 00023 #include "playerfactory.moc"