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:
parent
73e824c859
commit
2ef10fee39
@ -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 )
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user