[gtksourceviewmm/nmake-3-18: 3/6] gtksourceview/src/*.hg: Decorate classes and symbols
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceviewmm/nmake-3-18: 3/6] gtksourceview/src/*.hg: Decorate classes and symbols
- Date: Fri, 28 Aug 2020 08:59:11 +0000 (UTC)
commit 36b742e5d8be1a1749e5c5871f277da55a6194ed
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Fri Aug 28 16:37:35 2020 +0800
gtksourceview/src/*.hg: Decorate classes and symbols
...with GTKSOURCEVIEWMM_API, so that we can use those to export (and import)
symbols with compiler directives, by defining GTKSOURCEVIEWMM_API appropriately
This will make the generated headers contain GTKSOURCEVIEWMM_API where needed
gtksourceview/src/buffer.hg | 6 +++---
gtksourceview/src/completion.hg | 8 ++++----
gtksourceview/src/completionactivation.hg | 4 +++-
gtksourceview/src/completioncontext.hg | 12 +++++++-----
gtksourceview/src/completioninfo.hg | 6 ++++--
gtksourceview/src/completionitem.hg | 6 +++---
gtksourceview/src/completionproposal.hg | 6 ++++--
gtksourceview/src/completionprovider.hg | 6 +++---
gtksourceview/src/completionwords.hg | 4 ++--
gtksourceview/src/gutter.hg | 8 ++++----
gtksourceview/src/gutterrenderer.hg | 8 ++++----
gtksourceview/src/gutterrendererpixbuf.hg | 4 ++--
gtksourceview/src/gutterrenderertext.hg | 4 ++--
gtksourceview/src/language.hg | 6 +++---
gtksourceview/src/languagemanager.hg | 4 ++--
gtksourceview/src/mark.hg | 6 ++++--
gtksourceview/src/markattributes.hg | 16 +++++++++-------
gtksourceview/src/printcompositor.hg | 4 ++--
gtksourceview/src/style.hg | 6 ++++--
gtksourceview/src/stylescheme.hg | 4 ++--
gtksourceview/src/styleschememanager.hg | 4 ++--
gtksourceview/src/undomanager.hg | 6 ++++--
gtksourceview/src/view.hg | 14 +++++++-------
23 files changed, 84 insertions(+), 68 deletions(-)
---
diff --git a/gtksourceview/src/buffer.hg b/gtksourceview/src/buffer.hg
index 9e39af1..34f295e 100644
--- a/gtksourceview/src/buffer.hg
+++ b/gtksourceview/src/buffer.hg
@@ -38,7 +38,7 @@ namespace Gsv
*
* @newin{3,0}
*/
-_WRAP_ENUM(BracketMatchType, GtkSourceBracketMatchType, s#^SOURCE_##)
+_WRAP_ENUM(BracketMatchType, GtkSourceBracketMatchType, s#^SOURCE_##, decl_prefix GTKSOURCEVIEWMM_API)
/** @var BracketMatchType BRACKET_MATCH_NONE
* There was no bracket to match.
*/
@@ -65,9 +65,9 @@ _WRAP_ENUM(BracketMatchType, GtkSourceBracketMatchType, s#^SOURCE_##)
* By default highlighting is enabled, but you can disable it with
* Buffer::set_highlight_syntax().
*/
-class Buffer : public Gtk::TextBuffer
+class GTKSOURCEVIEWMM_API Buffer : public Gtk::TextBuffer
{
- _CLASS_GOBJECT(Buffer, GtkSourceBuffer, GTK_SOURCE_BUFFER, Gtk::TextBuffer, GtkTextBuffer)
+ _CLASS_GOBJECT(Buffer, GtkSourceBuffer, GTK_SOURCE_BUFFER, Gtk::TextBuffer, GtkTextBuffer, , ,
GTKSOURCEVIEWMM_API)
protected:
diff --git a/gtksourceview/src/completion.hg b/gtksourceview/src/completion.hg
index ca8e202..9a2b970 100644
--- a/gtksourceview/src/completion.hg
+++ b/gtksourceview/src/completion.hg
@@ -32,10 +32,10 @@ _PINCLUDE(glibmm/private/object_p.h)
namespace Gsv
{
-class CompletionContext;
-class CompletionProvider;
+class GTKSOURCEVIEWMM_API CompletionContext;
+class GTKSOURCEVIEWMM_API CompletionProvider;
-_WRAP_GERROR(SourceCompletionError, GtkSourceCompletionError, GTK_SOURCE_COMPLETION_ERROR)
+_WRAP_GERROR(SourceCompletionError, GtkSourceCompletionError, GTK_SOURCE_COMPLETION_ERROR, decl_prefix
GTKSOURCEVIEWMM_API)
/** Main Completion Object
*
@@ -43,7 +43,7 @@ _WRAP_GERROR(SourceCompletionError, GtkSourceCompletionError, GTK_SOURCE_COMPLET
*/
class Completion : public Glib::Object
{
- _CLASS_GOBJECT(Completion, GtkSourceCompletion, GTK_SOURCE_COMPLETION, Glib::Object, GObject)
+ _CLASS_GOBJECT(Completion, GtkSourceCompletion, GTK_SOURCE_COMPLETION, Glib::Object, GObject, , ,
GTKSOURCEVIEWMM_API)
public:
/** Add a new CompletionProvider to the completion object.
diff --git a/gtksourceview/src/completionactivation.hg b/gtksourceview/src/completionactivation.hg
index 680613f..e499178 100644
--- a/gtksourceview/src/completionactivation.hg
+++ b/gtksourceview/src/completionactivation.hg
@@ -17,6 +17,8 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+_CONFIGINCLUDE(gtksourceviewmmconfig.h)
+
_DEFS(gtksourceviewmm,gtksourceview)
#include <glibmm/value.h>
@@ -29,7 +31,7 @@ namespace Gsv
*
* @newin{2,10}
*/
-_WRAP_ENUM(CompletionActivation, GtkSourceCompletionActivation, s#^SOURCE_##)
+_WRAP_ENUM(CompletionActivation, GtkSourceCompletionActivation, s#^SOURCE_##, decl_prefix
GTKSOURCEVIEWMM_API)
/** @var CompletionActivation COMPLETION_ACTIVATION_NONE
* None.
diff --git a/gtksourceview/src/completioncontext.hg b/gtksourceview/src/completioncontext.hg
index 1c31f14..4767318 100644
--- a/gtksourceview/src/completioncontext.hg
+++ b/gtksourceview/src/completioncontext.hg
@@ -17,6 +17,8 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+_CONFIGINCLUDE(gtksourceviewmmconfig.h)
+
#include <vector>
#include <gtksourceview/gtksourceview-typebuiltins.h>
@@ -36,18 +38,18 @@ _PINCLUDE(glibmm/private/object_p.h)
namespace Gsv
{
-class CompletionProvider;
-class Completion;
-class View;
+class GTKSOURCEVIEWMM_API CompletionProvider;
+class GTKSOURCEVIEWMM_API Completion;
+class GTKSOURCEVIEWMM_API View;
// TODO: need docs here. krnowak
/** CompletionContext
*
* @newin{2,10}
*/
-class CompletionContext : public Glib::Object
+class GTKSOURCEVIEWMM_API CompletionContext : public Glib::Object
{
- _CLASS_GOBJECT(CompletionContext, GtkSourceCompletionContext, GTK_SOURCE_COMPLETION_CONTEXT, Glib::Object,
GObject)
+ _CLASS_GOBJECT(CompletionContext, GtkSourceCompletionContext, GTK_SOURCE_COMPLETION_CONTEXT, Glib::Object,
GObject, , , GTKSOURCEVIEWMM_API)
public:
#m4 _CONVERSION(`const Glib::RefPtr<CompletionProvider>&',`struct
_GtkSourceCompletionProvider*',`Glib::unwrap($3)')
#m4 _CONVERSION(`const std::vector<Glib::RefPtr<CompletionProposal>
&',`GList*',`Glib::ListHandler<Glib::RefPtr<CompletionProposal> >::vector_to_list($3).data()')
diff --git a/gtksourceview/src/completioninfo.hg b/gtksourceview/src/completioninfo.hg
index 48a6731..18bb79c 100644
--- a/gtksourceview/src/completioninfo.hg
+++ b/gtksourceview/src/completioninfo.hg
@@ -17,6 +17,8 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+_CONFIGINCLUDE(gtksourceviewmmconfig.h)
+
#include <gtkmm/widget.h>
#include <gtkmm/textview.h>
#include <gtkmm/window.h>
@@ -35,9 +37,9 @@ namespace Gsv
*
* @newin{2,10}
*/
-class CompletionInfo : public Gtk::Window
+class GTKSOURCEVIEWMM_API CompletionInfo : public Gtk::Window
{
- _CLASS_GTKOBJECT(CompletionInfo, GtkSourceCompletionInfo, GTK_SOURCE_COMPLETION_INFO, Gtk::Window,
GtkWindow)
+ _CLASS_GTKOBJECT(CompletionInfo, GtkSourceCompletionInfo, GTK_SOURCE_COMPLETION_INFO, Gtk::Window,
GtkWindow, , , GTKSOURCEVIEWMM_API)
public:
/** Creates new CompletionInfo popup window.
diff --git a/gtksourceview/src/completionitem.hg b/gtksourceview/src/completionitem.hg
index 832ae94..d3bc098 100644
--- a/gtksourceview/src/completionitem.hg
+++ b/gtksourceview/src/completionitem.hg
@@ -36,7 +36,7 @@ _PINCLUDE(glibmm/private/object_p.h)
#ifndef DOXYGEN_SHOULD_SKIP_THIS
namespace Gtk {
//deprecated
- class StockID;
+ class GTKSOURCEVIEWMM_API StockID;
} //namespace Gtk
#endif //#ifndef DOXYGEN_SHOULD_SKIP_THIS
@@ -48,12 +48,12 @@ namespace Gsv
*
* @newin{2,10}
*/
-class CompletionItem
+class GTKSOURCEVIEWMM_API CompletionItem
:
public Glib::Object,
public CompletionProposal
{
- _CLASS_GOBJECT(CompletionItem, GtkSourceCompletionItem, GTK_SOURCE_COMPLETION_ITEM, Glib::Object, GObject)
+ _CLASS_GOBJECT(CompletionItem, GtkSourceCompletionItem, GTK_SOURCE_COMPLETION_ITEM, Glib::Object, GObject,
, , GTKSOURCEVIEWMM_API)
_IMPLEMENTS_INTERFACE(CompletionProposal)
protected:
explicit CompletionItem(const Glib::ustring& label, const Glib::ustring& text, const Glib::RefPtr<const
Gdk::Pixbuf>& icon, const Glib::ustring& info);
diff --git a/gtksourceview/src/completionproposal.hg b/gtksourceview/src/completionproposal.hg
index 62a8a57..b5ef932 100644
--- a/gtksourceview/src/completionproposal.hg
+++ b/gtksourceview/src/completionproposal.hg
@@ -17,6 +17,8 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+_CONFIGINCLUDE(gtksourceviewmmconfig.h)
+
#include <glibmm/interface.h>
#include <glibmm/ustring.h>
#include <gdkmm/pixbuf.h>
@@ -36,9 +38,9 @@ namespace Gsv
*
* @newin{2,10}
*/
-class CompletionProposal : public Glib::Interface
+class GTKSOURCEVIEWMM_API CompletionProposal : public Glib::Interface
{
- _CLASS_INTERFACE(CompletionProposal, GtkSourceCompletionProposal, GTK_SOURCE_COMPLETION_PROPOSAL,
GtkSourceCompletionProposalIface)
+ _CLASS_INTERFACE(CompletionProposal, GtkSourceCompletionProposal, GTK_SOURCE_COMPLETION_PROPOSAL,
GtkSourceCompletionProposalIface, , , GTKSOURCEVIEWMM_API)
public:
/** Gets the label of a proposal.
diff --git a/gtksourceview/src/completionprovider.hg b/gtksourceview/src/completionprovider.hg
index c4942df..9b987d4 100644
--- a/gtksourceview/src/completionprovider.hg
+++ b/gtksourceview/src/completionprovider.hg
@@ -31,7 +31,7 @@ _PINCLUDE(glibmm/private/interface_p.h)
namespace Gsv
{
-class CompletionContext;
+class GTKSOURCEVIEWMM_API CompletionContext;
/** Completion provider interface.
*
@@ -39,9 +39,9 @@ class CompletionContext;
*
* @newin{2,10}
*/
-class CompletionProvider : public Glib::Interface
+class GTKSOURCEVIEWMM_API CompletionProvider : public Glib::Interface
{
- _CLASS_INTERFACE(CompletionProvider, GtkSourceCompletionProvider, GTK_SOURCE_COMPLETION_PROVIDER,
GtkSourceCompletionProviderIface)
+ _CLASS_INTERFACE(CompletionProvider, GtkSourceCompletionProvider, GTK_SOURCE_COMPLETION_PROVIDER,
GtkSourceCompletionProviderIface, , , GTKSOURCEVIEWMM_API)
public:
_WRAP_METHOD(Glib::ustring get_name() const, gtk_source_completion_provider_get_name)
diff --git a/gtksourceview/src/completionwords.hg b/gtksourceview/src/completionwords.hg
index 24296e9..f9fefbd 100644
--- a/gtksourceview/src/completionwords.hg
+++ b/gtksourceview/src/completionwords.hg
@@ -30,12 +30,12 @@ namespace Gsv
*
* @newin{2,10}
*/
-class CompletionWords
+class GTKSOURCEVIEWMM_API CompletionWords
:
public Glib::Object,
public CompletionProvider
{
- _CLASS_GOBJECT(CompletionWords, GtkSourceCompletionWords, GTK_SOURCE_COMPLETION_WORDS, Glib::Object,
GObject)
+ _CLASS_GOBJECT(CompletionWords, GtkSourceCompletionWords, GTK_SOURCE_COMPLETION_WORDS, Glib::Object,
GObject, , , GTKSOURCEVIEWMM_API)
_IMPLEMENTS_INTERFACE(CompletionProvider)
protected:
_WRAP_CTOR(CompletionWords(const Glib::ustring& name, const Glib::RefPtr<Gdk::Pixbuf>& icon),
gtk_source_completion_words_new)
diff --git a/gtksourceview/src/gutter.hg b/gtksourceview/src/gutter.hg
index 8ee6df1..f19599f 100644
--- a/gtksourceview/src/gutter.hg
+++ b/gtksourceview/src/gutter.hg
@@ -32,8 +32,8 @@ _PINCLUDE(glibmm/private/object_p.h)
namespace Gsv
{
-class GutterRenderer;
-class View;
+class GTKSOURCEVIEWMM_API GutterRenderer;
+class GTKSOURCEVIEWMM_API View;
// TODO: update docs.
/** Gutter object for View
@@ -59,9 +59,9 @@ class View;
*
* @newin{2,10}
*/
-class Gutter : public Glib::Object
+class GTKSOURCEVIEWMM_API Gutter : public Glib::Object
{
- _CLASS_GOBJECT(Gutter, GtkSourceGutter, GTK_SOURCE_GUTTER, Glib::Object, GObject)
+ _CLASS_GOBJECT(Gutter, GtkSourceGutter, GTK_SOURCE_GUTTER, Glib::Object, GObject, , , GTKSOURCEVIEWMM_API)
public:
// TODO: remove it later - it should take a conversion definition from gtkmm,
diff --git a/gtksourceview/src/gutterrenderer.hg b/gtksourceview/src/gutterrenderer.hg
index fa9a6e9..0bccc7d 100644
--- a/gtksourceview/src/gutterrenderer.hg
+++ b/gtksourceview/src/gutterrenderer.hg
@@ -30,14 +30,14 @@ _PINCLUDE(gtkmm/private/object_p.h)
namespace Gsv
{
-_WRAP_ENUM(GutterRendererState, GtkSourceGutterRendererState, s#^SOURCE_##)
+_WRAP_ENUM(GutterRendererState, GtkSourceGutterRendererState, s#^SOURCE_##, decl_prefix GTKSOURCEVIEWMM_API)
-_WRAP_ENUM(GutterRendererAlignmentMode, GtkSourceGutterRendererAlignmentMode, s#^SOURCE_##)
+_WRAP_ENUM(GutterRendererAlignmentMode, GtkSourceGutterRendererAlignmentMode, s#^SOURCE_##, decl_prefix
GTKSOURCEVIEWMM_API)
// TODO: write docs.
-class GutterRenderer : public Gtk::Object
+class GTKSOURCEVIEWMM_API GutterRenderer : public Gtk::Object
{
- _CLASS_GTKOBJECT(GutterRenderer, GtkSourceGutterRenderer, GTK_SOURCE_GUTTER_RENDERER, Gtk::Object,
GInitiallyUnowned)
+ _CLASS_GTKOBJECT(GutterRenderer, GtkSourceGutterRenderer, GTK_SOURCE_GUTTER_RENDERER, Gtk::Object,
GInitiallyUnowned, , , GTKSOURCEVIEWMM_API)
public:
#m4 _CONVERSION(`const Cairo::RefPtr<Cairo::Context>&', `cairo_t*', `(($3) ? ($3)->cobj() : 0)')
#m4 _CONVERSION(`Gtk::TextIter&',`GtkTextIter*',($3).gobj())
diff --git a/gtksourceview/src/gutterrendererpixbuf.hg b/gtksourceview/src/gutterrendererpixbuf.hg
index 8f4b365..02231d6 100644
--- a/gtksourceview/src/gutterrendererpixbuf.hg
+++ b/gtksourceview/src/gutterrendererpixbuf.hg
@@ -39,9 +39,9 @@ namespace Gsv
{
// TODO: write docs.
-class GutterRendererPixbuf : public GutterRenderer
+class GTKSOURCEVIEWMM_API GutterRendererPixbuf : public GutterRenderer
{
- _CLASS_GTKOBJECT(GutterRendererPixbuf, GtkSourceGutterRendererPixbuf, GTK_SOURCE_GUTTER_RENDERER_PIXBUF,
GutterRenderer, GtkSourceGutterRenderer)
+ _CLASS_GTKOBJECT(GutterRendererPixbuf, GtkSourceGutterRendererPixbuf, GTK_SOURCE_GUTTER_RENDERER_PIXBUF,
GutterRenderer, GtkSourceGutterRenderer, , , GTKSOURCEVIEWMM_API)
public:
_CTOR_DEFAULT()
diff --git a/gtksourceview/src/gutterrenderertext.hg b/gtksourceview/src/gutterrenderertext.hg
index b87682a..fda23d1 100644
--- a/gtksourceview/src/gutterrenderertext.hg
+++ b/gtksourceview/src/gutterrenderertext.hg
@@ -30,9 +30,9 @@ namespace Gsv
{
// TODO: write docs.
-class GutterRendererText : public GutterRenderer
+class GTKSOURCEVIEWMM_API GutterRendererText : public GutterRenderer
{
- _CLASS_GTKOBJECT(GutterRendererText, GtkSourceGutterRendererText, GTK_SOURCE_GUTTER_RENDERER_TEXT,
GutterRenderer, GtkSourceGutterRenderer)
+ _CLASS_GTKOBJECT(GutterRendererText, GtkSourceGutterRendererText, GTK_SOURCE_GUTTER_RENDERER_TEXT,
GutterRenderer, GtkSourceGutterRenderer, , , GTKSOURCEVIEWMM_API)
public:
_CTOR_DEFAULT()
diff --git a/gtksourceview/src/language.hg b/gtksourceview/src/language.hg
index 74e05be..0e5b594 100644
--- a/gtksourceview/src/language.hg
+++ b/gtksourceview/src/language.hg
@@ -33,7 +33,7 @@ _PINCLUDE(glibmm/private/object_p.h)
namespace Gsv
{
-class LanguageManager ;
+class GTKSOURCEVIEWMM_API LanguageManager ;
_CC_INCLUDE(gtksourceview/gtksourcelanguage.h)
_CC_INCLUDE(gtksourceview/gtksourceview-typebuiltins.h)
@@ -44,9 +44,9 @@ _CC_INCLUDE(gtksourceview/gtksourceview-typebuiltins.h)
* language. Use LanguageManager to obtain a Language instance, and
* Buffer::set_language() to apply it to a Buffer.
*/
-class Language : public Glib::Object
+class GTKSOURCEVIEWMM_API Language : public Glib::Object
{
- _CLASS_GOBJECT(Language, GtkSourceLanguage, GTK_SOURCE_LANGUAGE, Glib::Object, GObject)
+ _CLASS_GOBJECT(Language, GtkSourceLanguage, GTK_SOURCE_LANGUAGE, Glib::Object, GObject, , ,
GTKSOURCEVIEWMM_API)
public:
diff --git a/gtksourceview/src/languagemanager.hg b/gtksourceview/src/languagemanager.hg
index 9f73426..266589e 100644
--- a/gtksourceview/src/languagemanager.hg
+++ b/gtksourceview/src/languagemanager.hg
@@ -46,9 +46,9 @@ _CC_INCLUDE(gtksourceview/gtksourceview-typebuiltins.h)
* and guess_language() to get a Language for given file name and content
* type.
*/
-class LanguageManager : public Glib::Object
+class GTKSOURCEVIEWMM_API LanguageManager : public Glib::Object
{
- _CLASS_GOBJECT(LanguageManager, GtkSourceLanguageManager, GTK_SOURCE_LANGUAGE_MANAGER, Glib::Object,
GObject)
+ _CLASS_GOBJECT(LanguageManager, GtkSourceLanguageManager, GTK_SOURCE_LANGUAGE_MANAGER, Glib::Object,
GObject, , , GTKSOURCEVIEWMM_API)
protected:
_CTOR_DEFAULT()
diff --git a/gtksourceview/src/mark.hg b/gtksourceview/src/mark.hg
index d948497..6b82eb0 100644
--- a/gtksourceview/src/mark.hg
+++ b/gtksourceview/src/mark.hg
@@ -18,6 +18,8 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+_CONFIGINCLUDE(gtksourceviewmmconfig.h)
+
#include <gtkmm/textmark.h>
_DEFS(gtksourceviewmm,gtksourceview)
@@ -30,9 +32,9 @@ namespace Gsv
*
* @newin{2,2}
*/
-class Mark : public Gtk::TextMark
+class GTKSOURCEVIEWMM_API Mark : public Gtk::TextMark
{
- _CLASS_GOBJECT(Mark, GtkSourceMark, GTK_SOURCE_MARK, Gtk::TextMark, GtkTextMark)
+ _CLASS_GOBJECT(Mark, GtkSourceMark, GTK_SOURCE_MARK, Gtk::TextMark, GtkTextMark, , , GTKSOURCEVIEWMM_API)
protected:
diff --git a/gtksourceview/src/markattributes.hg b/gtksourceview/src/markattributes.hg
index 14d2fc1..73da6ef 100644
--- a/gtksourceview/src/markattributes.hg
+++ b/gtksourceview/src/markattributes.hg
@@ -20,6 +20,8 @@
/// \file
/// \brief MarkAttributes class
+_CONFIGINCLUDE(gtksourceviewmmconfig.h)
+
#include <glibmm/object.h>
#include <glibmm/refptr.h>
//#include <gtksourceviewmm/view.h>
@@ -38,34 +40,34 @@ _PINCLUDE(glibmm/private/object_p.h)
namespace Gio
{
-class Icon;
+class GTKSOURCEVIEWMM_API Icon;
} // namespace Gio
namespace Gdk
{
-class Pixbuf;
-class RGBA;
+class GTKSOURCEVIEWMM_API Pixbuf;
+class GTKSOURCEVIEWMM_API RGBA;
} // namespace Gdk
namespace Gtk
{
-class Widget;
+class GTKSOURCEVIEWMM_API Widget;
} // namespace Gtk
namespace Gsv
{
-class Mark;
+class GTKSOURCEVIEWMM_API Mark;
// TODO: write docs.
-class MarkAttributes : public Glib::Object
+class GTKSOURCEVIEWMM_API MarkAttributes : public Glib::Object
{
- _CLASS_GOBJECT(MarkAttributes, GtkSourceMarkAttributes, GTK_SOURCE_MARK_ATTRIBUTES, Glib::Object, GObject)
+ _CLASS_GOBJECT(MarkAttributes, GtkSourceMarkAttributes, GTK_SOURCE_MARK_ATTRIBUTES, Glib::Object, GObject,
, , GTKSOURCEVIEWMM_API)
protected:
_CTOR_DEFAULT
public:
diff --git a/gtksourceview/src/printcompositor.hg b/gtksourceview/src/printcompositor.hg
index fd92422..7ff7242 100644
--- a/gtksourceview/src/printcompositor.hg
+++ b/gtksourceview/src/printcompositor.hg
@@ -32,9 +32,9 @@ namespace Gsv
*
* @newin{2,10}
*/
-class PrintCompositor : public Glib::Object
+class GTKSOURCEVIEWMM_API PrintCompositor : public Glib::Object
{
- _CLASS_GOBJECT(PrintCompositor, GtkSourcePrintCompositor, GTK_SOURCE_PRINT_COMPOSITOR, Glib::Object,
GObject)
+ _CLASS_GOBJECT(PrintCompositor, GtkSourcePrintCompositor, GTK_SOURCE_PRINT_COMPOSITOR, Glib::Object,
GObject, , , GTKSOURCEVIEWMM_API)
protected:
_WRAP_CTOR(PrintCompositor(const Glib::RefPtr<Buffer>& buffer), gtk_source_print_compositor_new)
diff --git a/gtksourceview/src/style.hg b/gtksourceview/src/style.hg
index 631bd79..4d35c0b 100644
--- a/gtksourceview/src/style.hg
+++ b/gtksourceview/src/style.hg
@@ -18,6 +18,8 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+_CONFIGINCLUDE(gtksourceviewmmconfig.h)
+
#include <glibmm/object.h>
_DEFS(gtksourceviewmm,gtksourceview)
@@ -28,9 +30,9 @@ namespace Gsv
/** Class representing a style.
*/
-class Style : public Glib::Object
+class GTKSOURCEVIEWMM_API Style : public Glib::Object
{
- _CLASS_GOBJECT(Style, GtkSourceStyle, GTK_SOURCE_STYLE, Glib::Object, GObject)
+ _CLASS_GOBJECT(Style, GtkSourceStyle, GTK_SOURCE_STYLE, Glib::Object, GObject, , , GTKSOURCEVIEWMM_API)
public:
/** Creates a copy of a style, that is a new Style instance which has
diff --git a/gtksourceview/src/stylescheme.hg b/gtksourceview/src/stylescheme.hg
index a3eb6a7..a724858 100644
--- a/gtksourceview/src/stylescheme.hg
+++ b/gtksourceview/src/stylescheme.hg
@@ -48,9 +48,9 @@ namespace Gsv
*
* @newin{2,2}
*/
-class StyleScheme : public Glib::Object
+class GTKSOURCEVIEWMM_API StyleScheme : public Glib::Object
{
- _CLASS_GOBJECT(StyleScheme, GtkSourceStyleScheme, GTK_SOURCE_STYLE_SCHEME, Glib::Object, GObject)
+ _CLASS_GOBJECT(StyleScheme, GtkSourceStyleScheme, GTK_SOURCE_STYLE_SCHEME, Glib::Object, GObject, , ,
GTKSOURCEVIEWMM_API)
public:
diff --git a/gtksourceview/src/styleschememanager.hg b/gtksourceview/src/styleschememanager.hg
index b8126bc..4ba6e66 100644
--- a/gtksourceview/src/styleschememanager.hg
+++ b/gtksourceview/src/styleschememanager.hg
@@ -32,9 +32,9 @@ namespace Gsv
/** Class providing access to SourceStyleSchemes.
*/
-class StyleSchemeManager : public Glib::Object
+class GTKSOURCEVIEWMM_API StyleSchemeManager : public Glib::Object
{
- _CLASS_GOBJECT(StyleSchemeManager, GtkSourceStyleSchemeManager, GTK_SOURCE_STYLE_SCHEME_MANAGER,
Glib::Object, GObject)
+ _CLASS_GOBJECT(StyleSchemeManager, GtkSourceStyleSchemeManager, GTK_SOURCE_STYLE_SCHEME_MANAGER,
Glib::Object, GObject, , , GTKSOURCEVIEWMM_API)
protected:
_CTOR_DEFAULT
diff --git a/gtksourceview/src/undomanager.hg b/gtksourceview/src/undomanager.hg
index ea995bc..cb030f6 100644
--- a/gtksourceview/src/undomanager.hg
+++ b/gtksourceview/src/undomanager.hg
@@ -17,6 +17,8 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+_CONFIGINCLUDE(gtksourceviewmmconfig.h)
+
#include <glibmm/interface.h>
#include <glibmm/ustring.h>
#include <gdkmm/pixbuf.h>
@@ -41,9 +43,9 @@ namespace Gsv
*
* @newin{2,10}
*/
-class UndoManager : public Glib::Interface
+class GTKSOURCEVIEWMM_API UndoManager : public Glib::Interface
{
- _CLASS_INTERFACE(UndoManager, GtkSourceUndoManager, GTK_SOURCE_UNDO_MANAGER, GtkSourceUndoManagerIface)
+ _CLASS_INTERFACE(UndoManager, GtkSourceUndoManager, GTK_SOURCE_UNDO_MANAGER, GtkSourceUndoManagerIface, ,
, GTKSOURCEVIEWMM_API)
public:
diff --git a/gtksourceview/src/view.hg b/gtksourceview/src/view.hg
index 9891524..05d3d38 100644
--- a/gtksourceview/src/view.hg
+++ b/gtksourceview/src/view.hg
@@ -31,13 +31,13 @@ _PINCLUDE(gtkmm/private/textview_p.h)
namespace Gsv
{
-class Completion;
-class Gutter;
-class MarkAttributes;
+class GTKSOURCEVIEWMM_API Completion;
+class GTKSOURCEVIEWMM_API Gutter;
+class GTKSOURCEVIEWMM_API MarkAttributes;
/** Defines a behaviour of smart Home/End keys.
*/
-_WRAP_ENUM(SmartHomeEndType, GtkSourceSmartHomeEndType, s#^SOURCE_##)
+_WRAP_ENUM(SmartHomeEndType, GtkSourceSmartHomeEndType, s#^SOURCE_##, decl_prefix GTKSOURCEVIEWMM_API)
/** @var SmartHomeEndType SMART_HOME_END_DISABLED
* Smart-home-end disabled.
*/
@@ -56,7 +56,7 @@ _WRAP_ENUM(SmartHomeEndType, GtkSourceSmartHomeEndType, s#^SOURCE_##)
/** Determines what kind of whitespaces whould be drawn.
*/
-_WRAP_ENUM(DrawSpacesFlags, GtkSourceDrawSpacesFlags, s#^SOURCE_##)
+_WRAP_ENUM(DrawSpacesFlags, GtkSourceDrawSpacesFlags, s#^SOURCE_##, decl_prefix GTKSOURCEVIEWMM_API)
/** @var DrawSpacesFlags DRAW_SPACES_SPACE
* Whether the space character should be drawn.
*/
@@ -79,9 +79,9 @@ _WRAP_ENUM(DrawSpacesFlags, GtkSourceDrawSpacesFlags, s#^SOURCE_##)
* a text view which has syntax highlighting, undo/redo and text marks. Use a
* Buffer to display text with a GtkSourceView.
*/
-class View : public Gtk::TextView
+class GTKSOURCEVIEWMM_API View : public Gtk::TextView
{
- _CLASS_GTKOBJECT(View, GtkSourceView, GTK_SOURCE_VIEW, Gtk::TextView, GtkTextView)
+ _CLASS_GTKOBJECT(View, GtkSourceView, GTK_SOURCE_VIEW, Gtk::TextView, GtkTextView, , , GTKSOURCEVIEWMM_API)
public:
/// The gutter position of the lines renderer.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]