mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 00:54:20 +02:00
* Fixed some DLLEXPORTS.
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
#include "typedefs.h"
|
||||
#include "playlist/dynamic/DynamicControl.h"
|
||||
|
||||
#include "dllmacro.h"
|
||||
|
||||
class DatabaseCommand_LoadAllDynamicPlaylists;
|
||||
class DatabaseCommand_SetDynamicPlaylistRevision;
|
||||
class DatabaseCommand_CreateDynamicPlaylist;
|
||||
@@ -37,7 +39,7 @@ namespace Tomahawk {
|
||||
* It uses normal PlaylistEntries but also has a mode, a generator, and a list of controls
|
||||
*/
|
||||
|
||||
struct DynamicPlaylistRevision : PlaylistRevision
|
||||
struct DLLEXPORT DynamicPlaylistRevision : PlaylistRevision
|
||||
{
|
||||
QList< dyncontrol_ptr > controls;
|
||||
Tomahawk::GeneratorMode mode;
|
||||
@@ -56,7 +58,7 @@ struct DynamicPlaylistRevision : PlaylistRevision
|
||||
DynamicPlaylistRevision() {}
|
||||
};
|
||||
|
||||
class DynamicPlaylist : public Playlist
|
||||
class DLLEXPORT DynamicPlaylist : public Playlist
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
@@ -7,12 +7,14 @@
|
||||
#include "playlist/dynamic/GeneratorInterface.h"
|
||||
#include "typedefs.h"
|
||||
|
||||
#include "dllmacro.h"
|
||||
|
||||
namespace Tomahawk {
|
||||
|
||||
/**
|
||||
* Generators should subclass this and have it create the custom Generator
|
||||
*/
|
||||
class GeneratorFactoryInterface
|
||||
class DLLEXPORT GeneratorFactoryInterface
|
||||
{
|
||||
public:
|
||||
GeneratorFactoryInterface() {}
|
||||
@@ -30,7 +32,7 @@ public:
|
||||
/**
|
||||
* Simple factory that generates Generators from string type descriptors
|
||||
*/
|
||||
class GeneratorFactory
|
||||
class DLLEXPORT GeneratorFactory
|
||||
{
|
||||
public:
|
||||
static geninterface_ptr create( const QString& type );
|
||||
|
@@ -24,12 +24,14 @@
|
||||
#include "playlist/dynamic/GeneratorFactory.h"
|
||||
#include "playlist/dynamic/DynamicControl.h"
|
||||
|
||||
#include "dllmacro.h"
|
||||
|
||||
namespace Tomahawk
|
||||
{
|
||||
|
||||
class EchonestSteerer;
|
||||
|
||||
class EchonestFactory : public GeneratorFactoryInterface
|
||||
class DLLEXPORT EchonestFactory : public GeneratorFactoryInterface
|
||||
{
|
||||
public:
|
||||
EchonestFactory();
|
||||
|
Reference in New Issue
Block a user