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