1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-23 01:09:42 +01:00

* Plugin-ify NewReleasesPlugin.

This commit is contained in:
Christian Muehlhaeuser 2012-05-19 09:50:04 +02:00
parent 73e824c859
commit 2ef10fee39
2 changed files with 6 additions and 7 deletions

View File

@ -4,6 +4,7 @@
#include <QtCore/QSettings>
#include <QtNetwork/QNetworkConfiguration>
#include <QtNetwork/QNetworkReply>
#include <QtPlugin>
#include "Album.h"
#include "CountryUtils.h"
@ -348,9 +349,4 @@ void NewReleasesPlugin::nrReturned()
}
Q_EXPORT_PLUGIN2( Tomahawk::InfoSystem::InfoPlugin, Tomahawk::InfoSystem::NewReleasesPlugin )

View File

@ -21,6 +21,8 @@
#include "infosystem/InfoSystem.h"
#include "infosystem/InfoSystemWorker.h"
#include "infoplugins/InfoPluginDllMacro.h"
#include <QtNetwork/QNetworkReply>
#include <QtCore/QObject>
@ -32,9 +34,10 @@ namespace Tomahawk
namespace InfoSystem
{
class NewReleasesPlugin : public InfoPlugin
class INFOPLUGINDLLEXPORT NewReleasesPlugin : public InfoPlugin
{
Q_OBJECT
Q_INTERFACES( Tomahawk::InfoSystem::InfoPlugin )
public:
NewReleasesPlugin();