[atkmm/use-dllexport-2-28: 2/4] atk/src/*.hg: Mark classes with ATKMM_API



commit 36825d00206a53af706290e14f612f7816f60892
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Apr 1 17:54:44 2020 +0800

    atk/src/*.hg: Mark classes with ATKMM_API
    
    This way, we can export the symbols in atkmm with compiler directives
    instead of using gendef.

 atk/src/action.hg            |  6 ++++--
 atk/src/component.hg         | 12 +++++++-----
 atk/src/document.hg          |  8 +++++---
 atk/src/editabletext.hg      |  4 ++--
 atk/src/hyperlink.hg         |  6 +++---
 atk/src/hypertext.hg         |  6 +++---
 atk/src/image.hg             |  4 ++--
 atk/src/implementor.hg       |  4 ++--
 atk/src/noopobject.hg        |  6 +++---
 atk/src/object.hg            | 12 ++++++------
 atk/src/objectaccessible.hg  |  4 ++--
 atk/src/range.hg             |  6 ++++--
 atk/src/relation.hg          | 10 ++++++----
 atk/src/relationset.hg       |  4 ++--
 atk/src/selection.hg         |  8 +++++---
 atk/src/stateset.hg          |  9 ++++++---
 atk/src/streamablecontent.hg |  8 +++++---
 atk/src/table.hg             |  8 +++++---
 atk/src/text.hg              | 18 +++++++++---------
 atk/src/value.hg             |  4 ++--
 20 files changed, 83 insertions(+), 64 deletions(-)
---
diff --git a/atk/src/action.hg b/atk/src/action.hg
index fa5d692..8bcc91b 100644
--- a/atk/src/action.hg
+++ b/atk/src/action.hg
@@ -17,6 +17,8 @@
  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+_CONFIGINCLUDE(atkmmconfig.h)
+
 _DEFS(atkmm,atk)
 _PINCLUDE(glibmm/private/interface_p.h)
 
@@ -46,9 +48,9 @@ namespace Atk
  * actions are redundant in effect, Atk::Action should expose only one action rather than exposing redundant 
actions if
  * possible. By convention we have been using "mouse centric" terminology for Atk::Action names. 
  */
-class Action : public Glib::Interface
+class ATKMM_API Action : public Glib::Interface
 {
-  _CLASS_INTERFACE(Action, AtkAction, ATK_ACTION, AtkActionIface)
+  _CLASS_INTERFACE(Action, AtkAction, ATK_ACTION, AtkActionIface, , , ATKMM_API)
 
 public:
 
diff --git a/atk/src/component.hg b/atk/src/component.hg
index 1ff1642..3c61ae4 100644
--- a/atk/src/component.hg
+++ b/atk/src/component.hg
@@ -17,6 +17,8 @@
  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+_CONFIGINCLUDE(atkmmconfig.h)
+
 _DEFS(atkmm,atk)
 _PINCLUDE(atk/atkcomponent.h)
 
@@ -37,10 +39,10 @@ namespace Atk
 {
 
 _CC_INCLUDE(atk/atk-enum-types.h)
-_WRAP_ENUM(CoordType, AtkCoordType)
-_WRAP_ENUM(Layer, AtkLayer)
+_WRAP_ENUM(CoordType, AtkCoordType, decl_prefix ATKMM_API)
+_WRAP_ENUM(Layer, AtkLayer, decl_prefix ATKMM_API)
 
-class Object;
+class ATKMM_API Object;
 
 
 /** The ATK interface provided by UI components which occupy a physical area on the screen.
@@ -52,9 +54,9 @@ class Object;
  * A possible exception might be textual information with a transparent background, in which case text glyph 
bounding
  * box information is provided by Atk::Text.
  */
-class Component : public Glib::Interface
+class ATKMM_API Component : public Glib::Interface
 {
-  _CLASS_INTERFACE(Component, AtkComponent, ATK_COMPONENT, AtkComponentIface)
+  _CLASS_INTERFACE(Component, AtkComponent, ATK_COMPONENT, AtkComponentIface, , , ATKMM_API)
   
 public:
   _WRAP_METHOD(guint add_focus_handler(AtkFocusHandler handler), atk_component_add_focus_handler, deprecated 
"If you need to track when an object gains or lose the focus, use Atk::Object::signal_state_change() and 
check for focused notification instead.")
diff --git a/atk/src/document.hg b/atk/src/document.hg
index 82d5931..6b13dd5 100644
--- a/atk/src/document.hg
+++ b/atk/src/document.hg
@@ -18,6 +18,8 @@
  */
 
 
+_CONFIGINCLUDE(atkmmconfig.h)
+
 _DEFS(atkmm,atk)
 _PINCLUDE(glibmm/private/object_p.h)
 
@@ -34,15 +36,15 @@ extern "C"
 namespace Atk
 {
 
-class Object;
+class ATKMM_API Object;
 
 /** The ATK interface which allows access to a DOM associated with on object.
  * This interface should be supported by any object that has an associated document object model (DOM). This 
interface
  * provides the standard mechanism allowing an assistive technology access to the DOM.
  */
-class Document : public Glib::Interface
+class ATKMM_API Document : public Glib::Interface
 {
-  _CLASS_INTERFACE(Document, AtkDocument, ATK_DOCUMENT, AtkDocumentIface)
+  _CLASS_INTERFACE(Document, AtkDocument, ATK_DOCUMENT, AtkDocumentIface, , , ATKMM_API)
 public:
 
   _WRAP_METHOD(Glib::ustring get_document_type() const, atk_document_get_document_type, deprecated "Please 
use get_attribute() to ask for the document type if it applies.")
diff --git a/atk/src/editabletext.hg b/atk/src/editabletext.hg
index 03ae5da..879e391 100644
--- a/atk/src/editabletext.hg
+++ b/atk/src/editabletext.hg
@@ -40,9 +40,9 @@ namespace Atk
  * EditableText is a subclass of AtkText, and as such, an object which implements EditableText is by 
definition
  * an Atk::Text implementor as well. 
  */
-class EditableText : public Glib::Interface
+class ATKMM_API EditableText : public Glib::Interface
 {
-  _CLASS_INTERFACE(EditableText, AtkEditableText, ATK_EDITABLE_TEXT, AtkEditableTextIface)
+  _CLASS_INTERFACE(EditableText, AtkEditableText, ATK_EDITABLE_TEXT, AtkEditableTextIface, , , ATKMM_API)
 
 public:
   _WRAP_METHOD(bool set_run_attributes(const AttributeSet& attrib_set, int start_offset, int end_offset), 
atk_editable_text_set_run_attributes)
diff --git a/atk/src/hyperlink.hg b/atk/src/hyperlink.hg
index d1948e9..e78cab5 100644
--- a/atk/src/hyperlink.hg
+++ b/atk/src/hyperlink.hg
@@ -24,13 +24,13 @@ _PINCLUDE(atk/atkobject.h)
 namespace Atk
 {
 
-class Object;
+class ATKMM_API Object;
 
 /** Encapsulates a link or set of links in a hypertext document.
  */
-class Hyperlink : public Glib::Object, public Atk::Action
+class ATKMM_API Hyperlink : public Glib::Object, public Atk::Action
 {
-  _CLASS_GOBJECT(Hyperlink, AtkHyperlink, ATK_HYPERLINK, Glib::Object, GObject)
+  _CLASS_GOBJECT(Hyperlink, AtkHyperlink, ATK_HYPERLINK, Glib::Object, GObject, , , ATKMM_API)
   _IMPLEMENTS_INTERFACE(Action)
 
 public:
diff --git a/atk/src/hypertext.hg b/atk/src/hypertext.hg
index 1c30ad4..2e9e66a 100644
--- a/atk/src/hypertext.hg
+++ b/atk/src/hypertext.hg
@@ -36,12 +36,12 @@ extern "C"
 namespace Atk
 {
 
-class Object;
+class ATKMM_API Object;
 
 
-class Hypertext : public Glib::Interface
+class ATKMM_API Hypertext : public Glib::Interface
 {
-  _CLASS_INTERFACE(Hypertext, AtkHypertext, ATK_HYPERTEXT, AtkHypertextIface)
+  _CLASS_INTERFACE(Hypertext, AtkHypertext, ATK_HYPERTEXT, AtkHypertextIface, , , ATKMM_API)
 public:
 
   _WRAP_METHOD(Glib::RefPtr<Hyperlink> get_link(int link_index), atk_hypertext_get_link)
diff --git a/atk/src/image.hg b/atk/src/image.hg
index 7af5a48..9f56984 100644
--- a/atk/src/image.hg
+++ b/atk/src/image.hg
@@ -43,9 +43,9 @@ namespace Atk
  * screenreaders, and for use by onscreen magnifiers), and descriptive information. The descriptive 
information is
  * provided for alternative, text-only presentation of the most significant information present in the 
image. 
  */
-class Image : public Glib::Interface
+class ATKMM_API Image : public Glib::Interface
 {
-  _CLASS_INTERFACE(Image, AtkImage, ATK_IMAGE, AtkImageIface)
+  _CLASS_INTERFACE(Image, AtkImage, ATK_IMAGE, AtkImageIface, , , ATKMM_API)
 
 public:
   _WRAP_METHOD(bool set_image_description(const Glib::ustring& description), atk_image_set_image_description)
diff --git a/atk/src/implementor.hg b/atk/src/implementor.hg
index effe303..ee546bb 100644
--- a/atk/src/implementor.hg
+++ b/atk/src/implementor.hg
@@ -33,9 +33,9 @@ extern "C"
 namespace Atk
 {
 
-class Implementor : public Glib::Interface
+class ATKMM_API Implementor : public Glib::Interface
 {
-  _CLASS_INTERFACE(Implementor, AtkImplementor, ATK_IMPLEMENTOR, AtkImplementorIface)
+  _CLASS_INTERFACE(Implementor, AtkImplementor, ATK_IMPLEMENTOR, AtkImplementorIface, , , ATKMM_API)
 
 protected:
   _WRAP_VFUNC(Glib::RefPtr<Object> ref_accessibile(), ref_accessible, refreturn)
diff --git a/atk/src/noopobject.hg b/atk/src/noopobject.hg
index 255076d..9a86924 100644
--- a/atk/src/noopobject.hg
+++ b/atk/src/noopobject.hg
@@ -38,7 +38,7 @@ namespace Atk
  * It is the type of Atk::Object which is created if an accessible object is requested for an object type 
for which no
  * factory type is specified.
  */
-class NoOpObject
+class ATKMM_API NoOpObject
 :
   public Atk::Object,
   public Atk::Component,
@@ -51,7 +51,7 @@ class NoOpObject
   public Atk::Hypertext,
   public Atk::Value
 {
-  _CLASS_GOBJECT(NoOpObject, AtkNoOpObject, ATK_NO_OP_OBJECT, Atk::Object, AtkObject)
+  _CLASS_GOBJECT(NoOpObject, AtkNoOpObject, ATK_NO_OP_OBJECT, Atk::Object, AtkObject, , , ATKMM_API)
   _IMPLEMENTS_INTERFACE(Component)
   _IMPLEMENTS_INTERFACE(Action)
   _IMPLEMENTS_INTERFACE(EditableText)
@@ -63,7 +63,7 @@ class NoOpObject
   _IMPLEMENTS_INTERFACE(Value)
 
 #ifndef DOXYGEN_SHOULD_SKIP_THIS
-  friend class Atk::Object_Class;
+  friend ATKMM_API class Atk::Object_Class;
 #endif
 };
 
diff --git a/atk/src/object.hg b/atk/src/object.hg
index 50f87d7..847357d 100644
--- a/atk/src/object.hg
+++ b/atk/src/object.hg
@@ -33,11 +33,11 @@ namespace Atk
 {
 
 _CC_INCLUDE(atk/atk-enum-types.h)
-_WRAP_ENUM(Role, AtkRole)
+_WRAP_ENUM(Role, AtkRole, decl_prefix ATKMM_API)
 
-class RelationSet;
-class Relation;
-class StateSet;
+class ATKMM_API RelationSet;
+class ATKMM_API Relation;
+class ATKMM_API StateSet;
 
 typedef guint64 State;
 
@@ -53,9 +53,9 @@ typedef guint64 State;
  * ATK support built into the toolkit for the widget class or ancestor class, or in the case of custom 
widgets, if the
  * inherited Atk::Object implementation is insufficient, via instances of a new Atk::Object subclass. 
  */
-class Object : public Glib::Object
+class ATKMM_API Object : public Glib::Object
 {
-  _CLASS_GOBJECT(Object, AtkObject, ATK_OBJECT, Glib::Object, GObject)
+  _CLASS_GOBJECT(Object, AtkObject, ATK_OBJECT, Glib::Object, GObject, , , ATKMM_API)
   _CUSTOM_WRAP_NEW() // see wrap_new() implementation in object.ccg
   _IGNORE(atk_object_initialize, atk_object_get_layer, atk_object_get_mdi_zorder)
 public:
diff --git a/atk/src/objectaccessible.hg b/atk/src/objectaccessible.hg
index cd57685..625cfb4 100644
--- a/atk/src/objectaccessible.hg
+++ b/atk/src/objectaccessible.hg
@@ -30,9 +30,9 @@ namespace Atk
  * This can be used as a basis for implementing accessible objects for Glib::Objects which are not derived 
from
  * Gtk::Widget. One example of its use is in providing an accessible object for GnomeCanvasItem in the GAIL 
library.
  */
-class ObjectAccessible : public Atk::Object
+class ATKMM_API ObjectAccessible : public Atk::Object
 {
-   _CLASS_GOBJECT(ObjectAccessible, AtkGObjectAccessible, ATK_GOBJECT_ACCESSIBLE, Atk::Object, AtkObject)
+   _CLASS_GOBJECT(ObjectAccessible, AtkGObjectAccessible, ATK_GOBJECT_ACCESSIBLE, Atk::Object, AtkObject, , 
, ATKMM_API)
 protected:
 
   _WRAP_METHOD(Glib::RefPtr<Glib::Object> get_object(), atk_gobject_accessible_get_object, refreturn)
diff --git a/atk/src/range.hg b/atk/src/range.hg
index 73749d2..fc0d6cc 100644
--- a/atk/src/range.hg
+++ b/atk/src/range.hg
@@ -16,6 +16,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+_CONFIGINCLUDE(atkmmconfig.h)
+
 #include <glibmm/value.h>
 #include <atk/atk.h>
 
@@ -30,9 +32,9 @@ namespace Atk
  *
  * @newin{2,24}
  */
-class Range
+class ATKMM_API Range
 {
-  _CLASS_BOXEDTYPE(Range, AtkRange, NONE, atk_range_copy, atk_range_free)
+  _CLASS_BOXEDTYPE(Range, AtkRange, NONE, atk_range_copy, atk_range_free, ATKMM_API)
   _IGNORE(atk_range_copy, atk_range_free)
 public:
  
diff --git a/atk/src/relation.hg b/atk/src/relation.hg
index 1337fc2..ebc1d35 100644
--- a/atk/src/relation.hg
+++ b/atk/src/relation.hg
@@ -18,6 +18,8 @@
  */
 
 
+_CONFIGINCLUDE(atkmmconfig.h)
+
 _DEFS(atkmm,atk)
 _PINCLUDE(glibmm/private/object_p.h)
 
@@ -28,17 +30,17 @@ namespace Atk
 {
 
 _CC_INCLUDE(atk/atk-enum-types.h)
-_WRAP_ENUM(RelationType, AtkRelationType)
+_WRAP_ENUM(RelationType, AtkRelationType, decl_prefix ATKMM_API)
 
-class Object;
+class ATKMM_API Object;
 
 /** An Atk::Relation describes a relation between an object and one or more other objects.
  * The actual relations that an object has with other objects are defined as an Atk::RelationSet,
  * which is a set of Atk::Relations.
  */
-class Relation : public Glib::Object
+class ATKMM_API Relation : public Glib::Object
 {
-  _CLASS_GOBJECT(Relation, AtkRelation, ATK_RELATION, Glib::Object, GObject)
+  _CLASS_GOBJECT(Relation, AtkRelation, ATK_RELATION, Glib::Object, GObject, , , ATKMM_API)
 
 protected:
   explicit Relation(const Glib::ArrayHandle< Glib::RefPtr<Atk::Object> >& targets,
diff --git a/atk/src/relationset.hg b/atk/src/relationset.hg
index 54eeb0a..2ae6b1c 100644
--- a/atk/src/relationset.hg
+++ b/atk/src/relationset.hg
@@ -29,9 +29,9 @@ namespace Atk
 
 /** A set of Atk::Relations, normally the set of AtkRelations which an Atk::Object has.
  */
-class RelationSet : public Glib::Object
+class ATKMM_API RelationSet : public Glib::Object
 {
-  _CLASS_GOBJECT(RelationSet, AtkRelationSet, ATK_RELATION_SET, Glib::Object, GObject)
+  _CLASS_GOBJECT(RelationSet, AtkRelationSet, ATK_RELATION_SET, Glib::Object, GObject, , , ATKMM_API)
 protected:
   _CTOR_DEFAULT
 
diff --git a/atk/src/selection.hg b/atk/src/selection.hg
index 49589ea..c689b72 100644
--- a/atk/src/selection.hg
+++ b/atk/src/selection.hg
@@ -17,6 +17,8 @@
  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+_CONFIGINCLUDE(atkmmconfig.h)
+
 _DEFS(atkmm,atk)
 _PINCLUDE(atk/atkobject.h)
 
@@ -34,7 +36,7 @@ extern "C"
 namespace Atk
 {
 
-class Object;
+class ATKMM_API Object;
 
 /** The ATK interface implemented by container objects whose Atk::Object children can be selected.
  * This should be implemented by UI components with children which are exposed by Atk::Object::ref_child and
@@ -44,9 +46,9 @@ class Object;
  * Note that other types of "selection" (for instance text selection) are accomplished a other ATK 
interfaces -
  * Atk::Selection is limited to the selection/deselection of children. 
  */
-class Selection : public Glib::Interface
+class ATKMM_API Selection : public Glib::Interface
 {
-  _CLASS_INTERFACE(Selection, AtkSelection, ATK_SELECTION, AtkSelectionIface)
+  _CLASS_INTERFACE(Selection, AtkSelection, ATK_SELECTION, AtkSelectionIface, , , ATKMM_API)
 
 public:
   _WRAP_METHOD(bool add_selection(int i), atk_selection_add_selection)
diff --git a/atk/src/stateset.hg b/atk/src/stateset.hg
index b22578c..826b529 100644
--- a/atk/src/stateset.hg
+++ b/atk/src/stateset.hg
@@ -17,6 +17,9 @@
  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+
+_CONFIGINCLUDE(atkmmconfig.h)
+
 _DEFS(atkmm,atk)
 _PINCLUDE(glibmm/private/object_p.h)
 
@@ -28,14 +31,14 @@ namespace Atk
 {
 
 _CC_INCLUDE(atk/atk-enum-types.h)
-_WRAP_ENUM(StateType, AtkStateType)
+_WRAP_ENUM(StateType, AtkStateType, decl_prefix ATKMM_API)
 
 /** An AtkStateSet determines a component's state set.
  * It is composed of a set of Atk::States.
  */
-class StateSet : public Glib::Object
+class ATKMM_API StateSet : public Glib::Object
 {
-  _CLASS_GOBJECT(StateSet, AtkStateSet, ATK_STATE_SET, Glib::Object, GObject)
+  _CLASS_GOBJECT(StateSet, AtkStateSet, ATK_STATE_SET, Glib::Object, GObject, , , ATKMM_API)
 
 protected:
   _CTOR_DEFAULT()
diff --git a/atk/src/streamablecontent.hg b/atk/src/streamablecontent.hg
index b0ede91..ccb4f50 100644
--- a/atk/src/streamablecontent.hg
+++ b/atk/src/streamablecontent.hg
@@ -18,6 +18,8 @@
  */
 
 
+_CONFIGINCLUDE(atkmmconfig.h)
+
 _DEFS(atkmm,atk)
 _PINCLUDE(glibmm/private/object_p.h)
 
@@ -36,13 +38,13 @@ extern "C"
 namespace Atk
 {
 
-class Object;
+class ATKMM_API Object;
 
 /** The ATK interface which provides access to streamable content.
  */
-class StreamableContent : public Glib::Interface
+class ATKMM_API StreamableContent : public Glib::Interface
 {
-  _CLASS_INTERFACE(StreamableContent, AtkStreamableContent, ATK_STREAMABLE_CONTENT, 
AtkStreamableContentIface)
+  _CLASS_INTERFACE(StreamableContent, AtkStreamableContent, ATK_STREAMABLE_CONTENT, 
AtkStreamableContentIface, , , ATKMM_API)
 public:
 
   _WRAP_METHOD(int get_n_mime_types() const, atk_streamable_content_get_n_mime_types)
diff --git a/atk/src/table.hg b/atk/src/table.hg
index 9e8371e..8307373 100644
--- a/atk/src/table.hg
+++ b/atk/src/table.hg
@@ -17,6 +17,8 @@
  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+_CONFIGINCLUDE(atkmmconfig.h)
+
 _DEFS(atkmm,atk)
 _PINCLUDE(atk/atkobject.h)
 
@@ -35,7 +37,7 @@ extern "C"
 namespace Atk
 {
 
-class Object;
+class ATKMM_API Object;
 
 /** The ATK interface implemented for UI components which contain tabular or row/column information.
  * This should be implemented by components which present elements ordered via rows and columns. It may also 
be used to
@@ -50,9 +52,9 @@ class Object;
  * well as row and column headers and captions. Headers and captions are AtkObjects which may implement 
other interfaces
  * (Atk::Text, Atk::Image, etc.) as appropriate. Atk::Table summaries may themselves be (simplified) 
Atk::Tables, etc. 
  */
-class Table : public Glib::Interface
+class ATKMM_API Table : public Glib::Interface
 {
-  _CLASS_INTERFACE(Table, AtkTable, ATK_TABLE, AtkTableIface)
+  _CLASS_INTERFACE(Table, AtkTable, ATK_TABLE, AtkTableIface, , , ATKMM_API)
 
 public:
   _WRAP_METHOD(Glib::RefPtr<Atk::Object> get_at(int row, int column), atk_table_ref_at)
diff --git a/atk/src/text.hg b/atk/src/text.hg
index 8bdd100..d250b7c 100644
--- a/atk/src/text.hg
+++ b/atk/src/text.hg
@@ -27,7 +27,7 @@ _DEFS(atkmm,atk)
 namespace Atk
 {
 
-class Attribute
+class ATKMM_API Attribute
 {
   _CLASS_GENERIC(Attribute, AtkAttribute)
 
@@ -75,9 +75,9 @@ typedef Glib::SListHandle<Attribute, AttributeTraits> AttributeSet;
 
 
 _CC_INCLUDE(atk/atk-enum-types.h)
-_WRAP_ENUM(BuiltinTextAttribute, AtkTextAttribute)
+_WRAP_ENUM(BuiltinTextAttribute, AtkTextAttribute, decl_prefix ATKMM_API)
 
-class TextAttribute
+class ATKMM_API TextAttribute
 {
 private:
   int attribute_;
@@ -102,7 +102,7 @@ namespace Glib
 {
 
 template <>
-class Value<Atk::TextAttribute> : public Glib::Value_Enum<Atk::TextAttribute>
+class ATKMM_API Value<Atk::TextAttribute> : public Glib::Value_Enum<Atk::TextAttribute>
 {
 public:
   static GType value_type() G_GNUC_CONST;
@@ -114,9 +114,9 @@ public:
 namespace Atk
 {
 
-_WRAP_ENUM(TextBoundary, AtkTextBoundary)
-_WRAP_ENUM(TextClipType, AtkTextClipType)
-_WRAP_ENUM(TextGranularity, AtkTextGranularity)
+_WRAP_ENUM(TextBoundary, AtkTextBoundary, decl_prefix ATKMM_API)
+_WRAP_ENUM(TextClipType, AtkTextClipType, decl_prefix ATKMM_API)
+_WRAP_ENUM(TextGranularity, AtkTextGranularity, decl_prefix ATKMM_API)
 
 /** The ATK interface implemented by components with text content.
  * This should be implemented by Atk::Objects on behalf of widgets that have text content which is either 
attributed
@@ -131,9 +131,9 @@ _WRAP_ENUM(TextGranularity, AtkTextGranularity)
  * multi-byte, and caret-to-byte offset mapping makes no assumptions about the character length; also 
bounding box
  * glyph-to-offset mapping may be complex for languages which use ligatures.
  */
-class Text : public Glib::Interface
+class ATKMM_API Text : public Glib::Interface
 {
-  _CLASS_INTERFACE(Text, AtkText, ATK_TEXT, AtkTextIface)
+  _CLASS_INTERFACE(Text, AtkText, ATK_TEXT, AtkTextIface, , , ATKMM_API)
 
 public:
   _WRAP_METHOD(Glib::ustring get_text(int start_offset, int end_offset) const, atk_text_get_text)
diff --git a/atk/src/value.hg b/atk/src/value.hg
index a354b89..96c770e 100644
--- a/atk/src/value.hg
+++ b/atk/src/value.hg
@@ -40,9 +40,9 @@ namespace Atk
  * should have Atk::Object representations which implement Atk::Value on the component's behalf. Atk::Values 
may be
  * read-only, in which case attempts to alter the value return false to indicate failure.
  */
-class Value : public Glib::Interface
+class ATKMM_API Value : public Glib::Interface
 {
-  _CLASS_INTERFACE(Value, AtkValue, ATK_VALUE, AtkValueIface)
+  _CLASS_INTERFACE(Value, AtkValue, ATK_VALUE, AtkValueIface, , , ATKMM_API)
 
 public:
   _WRAP_METHOD(void get_current_value(Glib::ValueBase& value) const, atk_value_get_current_value, deprecated 
"Use get_value_and_text() instead.")


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]