Index: src/graphics.h.in =================================================================== RCS file: /cvs/octave/src/graphics.h.in,v retrieving revision 1.28 diff -c -r1.28 graphics.h.in *** src/graphics.h.in 12 Dec 2007 18:44:35 -0000 1.28 --- src/graphics.h.in 27 Dec 2007 21:15:28 -0000 *************** *** 85,91 **** class radio_values { public: ! radio_values (const std::string& opt_string = std::string ()); radio_values (const radio_values& a) : default_val (a.default_val), possible_vals (a.possible_vals) { } --- 85,91 ---- class radio_values { public: ! OCTINTERP_API radio_values (const std::string& opt_string = std::string ()); radio_values (const radio_values& a) : default_val (a.default_val), possible_vals (a.possible_vals) { } *************** *** 237,243 **** private: double xrgb[3]; ! bool str2rgb (std::string str); }; --- 237,243 ---- private: double xrgb[3]; ! OCTINTERP_API bool str2rgb (std::string str); }; *************** *** 260,266 **** current_val (initial_value) { } ! color_property (const octave_value& val); operator octave_value (void) const { --- 260,266 ---- current_val (initial_value) { } ! OCTINTERP_API color_property (const octave_value& val); operator octave_value (void) const { *************** *** 310,316 **** return *this; } ! color_property& operator = (const octave_value& newval); bool is_rgb (void) const { return (current_type == color_t); } --- 310,316 ---- return *this; } ! OCTINTERP_API color_property& operator = (const octave_value& newval); bool is_rgb (void) const { return (current_type == color_t); } *************** *** 628,634 **** class base_graphics_object; ! class base_properties { public: base_properties (const std::string& ty = "unknown", --- 628,634 ---- class base_graphics_object; ! class OCTINTERP_API base_properties { public: base_properties (const std::string& ty = "unknown", *************** *** 747,753 **** Matrix children; }; ! class base_graphics_object { public: friend class graphics_object; --- 747,753 ---- Matrix children; }; ! class OCTINTERP_API base_graphics_object { public: friend class graphics_object; *************** *** 870,876 **** int count; }; ! class graphics_object { public: graphics_object (void) : rep (new base_graphics_object ()) { } --- 870,876 ---- int count; }; ! class OCTINTERP_API graphics_object { public: graphics_object (void) : rep (new base_graphics_object ()) { } *************** *** 1035,1041 **** // --------------------------------------------------------------------- ! class root_figure : public base_graphics_object { public: class properties : public base_properties --- 1035,1041 ---- // --------------------------------------------------------------------- ! class OCTINTERP_API root_figure : public base_graphics_object { public: class properties : public base_properties *************** *** 1185,1191 **** // --------------------------------------------------------------------- ! class figure : public base_graphics_object { public: class properties : public base_properties --- 1185,1191 ---- // --------------------------------------------------------------------- ! class OCTINTERP_API figure : public base_graphics_object { public: class properties : public base_properties *************** *** 1321,1327 **** // --------------------------------------------------------------------- ! class axes : public base_graphics_object { public: class properties : public base_properties --- 1321,1327 ---- // --------------------------------------------------------------------- ! class OCTINTERP_API axes : public base_graphics_object { public: class properties : public base_properties *************** *** 1513,1519 **** // --------------------------------------------------------------------- ! class line : public base_graphics_object { public: class properties : public base_properties --- 1513,1519 ---- // --------------------------------------------------------------------- ! class OCTINTERP_API line : public base_graphics_object { public: class properties : public base_properties *************** *** 1620,1626 **** // --------------------------------------------------------------------- ! class text : public base_graphics_object { public: class properties : public base_properties --- 1620,1626 ---- // --------------------------------------------------------------------- ! class OCTINTERP_API text : public base_graphics_object { public: class properties : public base_properties *************** *** 1722,1728 **** // --------------------------------------------------------------------- ! class image : public base_graphics_object { public: class properties : public base_properties --- 1722,1728 ---- // --------------------------------------------------------------------- ! class OCTINTERP_API image : public base_graphics_object { public: class properties : public base_properties *************** *** 1816,1822 **** // --------------------------------------------------------------------- ! class patch : public base_graphics_object { public: class properties : public base_properties --- 1816,1822 ---- // --------------------------------------------------------------------- ! class OCTINTERP_API patch : public base_graphics_object { public: class properties : public base_properties *************** *** 1924,1930 **** // --------------------------------------------------------------------- ! class surface : public base_graphics_object { public: class properties : public base_properties --- 1924,1930 ---- // --------------------------------------------------------------------- ! class OCTINTERP_API surface : public base_graphics_object { public: class properties : public base_properties *************** *** 2037,2043 **** // --------------------------------------------------------------------- ! class gh_manager { protected: --- 2037,2043 ---- // --------------------------------------------------------------------- ! class OCTINTERP_API gh_manager { protected: *************** *** 2208,2217 **** // This function is NOT equivalent to the scripting language function gcf. ! graphics_handle gcf (void); // This function is NOT equivalent to the scripting language function gca. ! graphics_handle gca (void); #endif --- 2208,2217 ---- // This function is NOT equivalent to the scripting language function gcf. ! OCTINTERP_API graphics_handle gcf (void); // This function is NOT equivalent to the scripting language function gca. ! OCTINTERP_API graphics_handle gca (void); #endif Index: src/genprops.awk =================================================================== RCS file: /cvs/octave/src/genprops.awk,v retrieving revision 1.9 diff -c -r1.9 genprops.awk *** src/genprops.awk 30 Nov 2007 06:50:34 -0000 1.9 --- src/genprops.awk 27 Dec 2007 21:15:28 -0000 *************** *** 124,130 **** { if (emit_get[i]) { ! printf (" %s get_%s (void) const", type[i], name[i]); if (emit_get[i] == "definition") printf (" { return %s; }\n", name[i]); --- 124,130 ---- { if (emit_get[i]) { ! printf (" %s%s get_%s (void) const", (emit_get[i] == "declaration" ? "OCTINTERP_API " : ""), type[i], name[i]); if (emit_get[i] == "definition") printf (" { return %s; }\n", name[i]);