Commit 4e18daee authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Remove VLCPP_API define, since we're now header only

parent 024ee4d9
......@@ -121,7 +121,7 @@ class IVLMEventCb
virtual void mediaInstanceStatusError( const std::string&, const std::string& ) {}
};
class VLCPP_API EventManager : public Internal<libvlc_event_manager_t>
class EventManager : public Internal<libvlc_event_manager_t>
{
public:
EventManager(InternalPtr ptr)
......
......@@ -34,7 +34,7 @@
namespace VLC
{
class VLCPP_API Instance : public Internal<libvlc_instance_t>
class Instance : public Internal<libvlc_instance_t>
{
public:
/**
......
......@@ -37,7 +37,7 @@ class EventManager;
class Instance;
class MediaList;
class VLCPP_API Media : public Internal<libvlc_media_t>
class Media : public Internal<libvlc_media_t>
{
public:
......
......@@ -34,7 +34,7 @@ namespace VLC
class EventManager;
class Instance;
class VLCPP_API MediaDiscoverer : public Internal<libvlc_media_discoverer_t>
class MediaDiscoverer : public Internal<libvlc_media_discoverer_t>
{
public:
// libvlc_media_discoverer_new_from_name
......
......@@ -30,7 +30,7 @@
namespace VLC
{
class VLCPP_API MediaLibrary : public Internal<libvlc_media_library_t>
class MediaLibrary : public Internal<libvlc_media_library_t>
{
public:
/**
......
......@@ -34,7 +34,7 @@ class EventManager;
class MediaDiscoverer;
class MediaLibrary;
class VLCPP_API MediaList : public Internal<libvlc_media_list_t>
class MediaList : public Internal<libvlc_media_list_t>
{
public:
/**
......
......@@ -35,7 +35,7 @@ class EventManager;
class MediaPlayer;
class MediaList;
class VLCPP_API MediaListPlayer : public Internal<libvlc_media_list_player_t>
class MediaListPlayer : public Internal<libvlc_media_list_player_t>
{
public:
/**
......
......@@ -38,7 +38,7 @@ class TrackDescription;
class Instance;
class Media;
class VLCPP_API MediaPlayer : public Internal<libvlc_media_player_t>
class MediaPlayer : public Internal<libvlc_media_player_t>
{
public:
/**
......
......@@ -25,21 +25,6 @@
#define LIBVLC_CXX_COMMON_H
#include <vlc/vlc.h>
#ifdef _WIN32
#ifdef libvlcpp_BUILD_DLL
#ifdef libvlcpp_EXPORTS
# define VLCPP_API __declspec(dllexport)
#else
# define VLCPP_API __declspec(dllimport)
#endif
#else
# define VLCPP_API
#endif
#else
# define VLCPP_API
#endif
#include <memory>
namespace VLC
......
......@@ -34,7 +34,7 @@ namespace VLC
class Instance;
class Media;
class VLCPP_API ModuleDescription
class ModuleDescription
{
public:
const std::string& name() const
......@@ -79,7 +79,7 @@ private:
};
class VLCPP_API MediaTrack
class MediaTrack
{
public:
enum Type
......@@ -250,7 +250,7 @@ private:
};
class VLCPP_API AudioOutputDescription
class AudioOutputDescription
{
public:
const std::string& name() const
......@@ -278,7 +278,7 @@ private:
friend class Instance;
};
class VLCPP_API AudioOutputDeviceDescription
class AudioOutputDeviceDescription
{
public:
/**< Device identifier string */
......@@ -309,7 +309,7 @@ class VLCPP_API AudioOutputDeviceDescription
friend class MediaPlayer;
};
class VLCPP_API TrackDescription
class TrackDescription
{
public:
int id() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment