1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 06:07:37 +02:00

Catch up to the InfoSystem.

This commit is contained in:
Alejandro Wainzinger
2011-05-07 12:25:17 -07:00
parent 09817a7836
commit 8cc0277cca
2 changed files with 5 additions and 9 deletions

View File

@@ -38,15 +38,11 @@ static void setStatus(const QString &status)
using namespace Tomahawk::InfoSystem; using namespace Tomahawk::InfoSystem;
AdiumPlugin::AdiumPlugin( InfoSystemWorker* parent ) AdiumPlugin::AdiumPlugin()
: InfoPlugin(parent) : InfoPlugin()
{ {
/** No supported types since the plugin pushes info, doesn't get any */
qDebug() << Q_FUNC_INFO; qDebug() << Q_FUNC_INFO;
QSet< InfoType > supportedGetTypes, supportedPushTypes; m_supportedPushTypes << InfoNowPlaying;
supportedPushTypes << InfoNowPlaying;
parent->registerInfoTypes( this, supportedGetTypes, supportedPushTypes );
} }
AdiumPlugin::~AdiumPlugin() AdiumPlugin::~AdiumPlugin()

View File

@@ -33,7 +33,7 @@ class AdiumPlugin : public InfoPlugin
Q_OBJECT Q_OBJECT
public: public:
AdiumPlugin( InfoSystemWorker *parent ); AdiumPlugin();
virtual ~AdiumPlugin(); virtual ~AdiumPlugin();
protected slots: protected slots:
@@ -47,7 +47,7 @@ public slots:
void audioPaused(); void audioPaused();
void audioResumed( const QVariant &input ); void audioResumed( const QVariant &input );
void namChangedSlot() {} // unused void namChangedSlot( QNetworkAccessManager *nam ) {} // unused
void notInCacheSlot( const Tomahawk::InfoSystem::InfoCriteriaHash criteria, const QString caller, const Tomahawk::InfoSystem::InfoType type, const QVariant input, const Tomahawk::InfoSystem::InfoCustomData customData ) {} // unused void notInCacheSlot( const Tomahawk::InfoSystem::InfoCriteriaHash criteria, const QString caller, const Tomahawk::InfoSystem::InfoType type, const QVariant input, const Tomahawk::InfoSystem::InfoCustomData customData ) {} // unused
}; };