1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-22 08:52:12 +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
src/libtomahawk/infosystem/infoplugins

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

@ -33,7 +33,7 @@ class AdiumPlugin : public InfoPlugin
Q_OBJECT
public:
AdiumPlugin( InfoSystemWorker *parent );
AdiumPlugin();
virtual ~AdiumPlugin();
protected slots:
@ -47,7 +47,7 @@ public slots:
void audioPaused();
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
};