diff --git a/src/libtomahawk/playlist/dynamic/DynamicPlaylist.h b/src/libtomahawk/playlist/dynamic/DynamicPlaylist.h index 00f68a647..e8884cd0d 100644 --- a/src/libtomahawk/playlist/dynamic/DynamicPlaylist.h +++ b/src/libtomahawk/playlist/dynamic/DynamicPlaylist.h @@ -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 diff --git a/src/libtomahawk/playlist/dynamic/GeneratorFactory.h b/src/libtomahawk/playlist/dynamic/GeneratorFactory.h index 9be120f90..5e2120bfd 100644 --- a/src/libtomahawk/playlist/dynamic/GeneratorFactory.h +++ b/src/libtomahawk/playlist/dynamic/GeneratorFactory.h @@ -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 ); diff --git a/src/libtomahawk/playlist/dynamic/echonest/EchonestGenerator.h b/src/libtomahawk/playlist/dynamic/echonest/EchonestGenerator.h index 7beedaa1d..dc5bd8420 100644 --- a/src/libtomahawk/playlist/dynamic/echonest/EchonestGenerator.h +++ b/src/libtomahawk/playlist/dynamic/echonest/EchonestGenerator.h @@ -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();