Export all text_placements_ classes from mapnik.dll

Previously, only text_placements_dummy had a MAPNIK_DECL annotation.
This commit adds that annotation to text_placements_simple and
text_placements_list, so that they are also exposed from the Windows DLL
build.
This commit is contained in:
Ben Harper 2017-11-28 11:11:25 +02:00 committed by Alberto Valverde
parent 497b516feb
commit 7ce142a5aa
2 changed files with 4 additions and 4 deletions

View file

@ -30,7 +30,7 @@ class feature_impl;
struct attribute; struct attribute;
// Tries a list of placements. // Tries a list of placements.
class text_placements_list: public text_placements class MAPNIK_DECL text_placements_list: public text_placements
{ {
public: public:
text_placements_list(); text_placements_list();
@ -47,7 +47,7 @@ private:
// List placement strategy. // List placement strategy.
// See parent class for documentation of each function. // See parent class for documentation of each function.
class text_placement_info_list : public text_placement_info class MAPNIK_DECL text_placement_info_list : public text_placement_info
{ {
public: public:
text_placement_info_list(text_placements_list const* parent, double scale_factor) : text_placement_info_list(text_placements_list const* parent, double scale_factor) :

View file

@ -33,7 +33,7 @@ class feature_impl;
struct attribute; struct attribute;
// Automatically generates placement options from a user selected list of directions and text sizes. // Automatically generates placement options from a user selected list of directions and text sizes.
class text_placements_simple: public text_placements class MAPNIK_DECL text_placements_simple: public text_placements
{ {
public: public:
text_placements_simple(symbolizer_base::value_type const& positions); text_placements_simple(symbolizer_base::value_type const& positions);
@ -53,7 +53,7 @@ private:
// Simple placement strategy. // Simple placement strategy.
// See parent class for documentation of each function. // See parent class for documentation of each function.
class text_placement_info_simple : public text_placement_info class MAPNIK_DECL text_placement_info_simple : public text_placement_info
{ {
public: public:
text_placement_info_simple(text_placements_simple const* parent, text_placement_info_simple(text_placements_simple const* parent,