diff --git a/include/mapnik/parse_path.hpp b/include/mapnik/parse_path.hpp index d260bbf2c..f295d8c77 100644 --- a/include/mapnik/parse_path.hpp +++ b/include/mapnik/parse_path.hpp @@ -41,14 +41,14 @@ MAPNIK_DECL path_expression_ptr parse_path(std::string const & str); MAPNIK_DECL path_expression_ptr parse_path(std::string const & str, path_expression_grammar const& g); -struct path_processor +struct MAPNIK_DECL path_processor { static std::string evaluate(path_expression const& path, feature_impl const& f); static std::string to_string(path_expression const& path); static void collect_attributes(path_expression const& path, std::set& names); }; -typedef mapnik::path_processor path_processor_type; +typedef MAPNIK_DECL mapnik::path_processor path_processor_type; } diff --git a/include/mapnik/text/formatting/base.hpp b/include/mapnik/text/formatting/base.hpp index 4d2b8601b..c14dfa3bc 100644 --- a/include/mapnik/text/formatting/base.hpp +++ b/include/mapnik/text/formatting/base.hpp @@ -40,7 +40,7 @@ namespace formatting { class node; typedef boost::shared_ptr node_ptr; -class node +class MAPNIK_DECL node { public: virtual ~node() {} diff --git a/include/mapnik/text/formatting/expression_format.hpp b/include/mapnik/text/formatting/expression_format.hpp index 19a2fdfda..024f721ad 100644 --- a/include/mapnik/text/formatting/expression_format.hpp +++ b/include/mapnik/text/formatting/expression_format.hpp @@ -37,7 +37,7 @@ class xml_node; struct char_properties; namespace formatting { -class expression_format: public node { +class MAPNIK_DECL expression_format: public node { public: void to_xml(boost::property_tree::ptree &xml) const; static node_ptr from_xml(xml_node const& xml); diff --git a/include/mapnik/text/formatting/format.hpp b/include/mapnik/text/formatting/format.hpp index e6a501746..b7aa862e3 100644 --- a/include/mapnik/text/formatting/format.hpp +++ b/include/mapnik/text/formatting/format.hpp @@ -32,7 +32,7 @@ namespace mapnik { namespace formatting { -class format_node: public node { +class MAPNIK_DECL format_node: public node { public: void to_xml(boost::property_tree::ptree &xml) const; static node_ptr from_xml(xml_node const& xml); diff --git a/include/mapnik/text/formatting/list.hpp b/include/mapnik/text/formatting/list.hpp index 385574ee8..dbc0edcf2 100644 --- a/include/mapnik/text/formatting/list.hpp +++ b/include/mapnik/text/formatting/list.hpp @@ -31,7 +31,7 @@ namespace mapnik { namespace formatting { -class list_node: public node { +class MAPNIK_DECL list_node: public node { public: list_node() : node(), children_() {} virtual void to_xml(boost::property_tree::ptree &xml) const; diff --git a/include/mapnik/text/formatting/text.hpp b/include/mapnik/text/formatting/text.hpp index 3433937cb..a868e5845 100644 --- a/include/mapnik/text/formatting/text.hpp +++ b/include/mapnik/text/formatting/text.hpp @@ -30,7 +30,7 @@ namespace mapnik { namespace formatting { -class text_node: public node { +class MAPNIK_DECL text_node: public node { public: text_node(expression_ptr text): node(), text_(text) {} text_node(std::string text): node(), text_(parse_expression(text)) {} diff --git a/include/mapnik/text/placements/base.hpp b/include/mapnik/text/placements/base.hpp index a49d8d479..493ea658f 100644 --- a/include/mapnik/text/placements/base.hpp +++ b/include/mapnik/text/placements/base.hpp @@ -37,7 +37,7 @@ class MAPNIK_DECL text_placements; * This placement has first to be tested by placement_finder to verify it * can actually be used. */ -class text_placement_info : mapnik::noncopyable +class MAPNIK_DECL text_placement_info : mapnik::noncopyable { public: /** Constructor. Takes the parent text_placements object as a parameter @@ -68,7 +68,7 @@ typedef boost::shared_ptr text_placement_info_ptr; * semantics. Basically this class just makes sure a pointer of the right * class is returned by the get_placement_info call. */ -class text_placements +class MAPNIK_DECL text_placements { public: text_placements(); diff --git a/include/mapnik/text/text_properties.hpp b/include/mapnik/text/text_properties.hpp index 962444390..ff3ffd01d 100644 --- a/include/mapnik/text/text_properties.hpp +++ b/include/mapnik/text/text_properties.hpp @@ -57,7 +57,7 @@ DEFINE_ENUM(text_transform_e, text_transform); typedef std::map fontset_map; -struct char_properties +struct MAPNIK_DECL char_properties { char_properties(); /** Construct object from XML. */ @@ -135,7 +135,7 @@ class text_layout; /** Contains all text symbolizer properties which are not directly related to text formatting. */ -struct text_symbolizer_properties +struct MAPNIK_DECL text_symbolizer_properties { text_symbolizer_properties(); /** Load all values from XML ptree. */