1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-02-26 21:03:31 +01:00

* Fixed some DLLEXPORTS.

This commit is contained in:
Christian Muehlhaeuser 2011-02-10 10:39:54 +01:00
parent 6c89dc4152
commit acdaeabd99
3 changed files with 11 additions and 5 deletions

View File

@ -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

View File

@ -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 );

View File

@ -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();