[libpeas/msvc: 7/12] libpeas-gtk: Mark public symbols with PEAS_API
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas/msvc: 7/12] libpeas-gtk: Mark public symbols with PEAS_API
- Date: Mon, 15 Oct 2018 10:23:55 +0000 (UTC)
commit 19797de87c3e796cde8916d2db6b2edda98a18d8
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Oct 15 14:32:54 2018 +0800
libpeas-gtk: Mark public symbols with PEAS_API
This makes those symbols ready for export by using compiler directives.
libpeas-gtk/peas-gtk-configurable.h | 4 ++++
libpeas-gtk/peas-gtk-plugin-manager-view.h | 6 ++++++
libpeas-gtk/peas-gtk-plugin-manager.h | 3 +++
3 files changed, 13 insertions(+)
---
diff --git a/libpeas-gtk/peas-gtk-configurable.h b/libpeas-gtk/peas-gtk-configurable.h
index 95ff190..2a82b4b 100644
--- a/libpeas-gtk/peas-gtk-configurable.h
+++ b/libpeas-gtk/peas-gtk-configurable.h
@@ -23,6 +23,7 @@
#define __PEAS_GTK_CONFIGURABLE_H__
#include <gtk/gtk.h>
+#include <libpeas/peas-macros.h>
G_BEGIN_DECLS
@@ -57,7 +58,10 @@ struct _PeasGtkConfigurableInterface
GtkWidget *(*create_configure_widget) (PeasGtkConfigurable *configurable);
};
+_PEAS_EXTERN
GType peas_gtk_configurable_get_type (void) G_GNUC_CONST;
+
+_PEAS_EXTERN
GtkWidget *peas_gtk_configurable_create_configure_widget (PeasGtkConfigurable *configurable);
G_END_DECLS
diff --git a/libpeas-gtk/peas-gtk-plugin-manager-view.h b/libpeas-gtk/peas-gtk-plugin-manager-view.h
index 0761f04..a5cea6a 100644
--- a/libpeas-gtk/peas-gtk-plugin-manager-view.h
+++ b/libpeas-gtk/peas-gtk-plugin-manager-view.h
@@ -75,17 +75,23 @@ struct _PeasGtkPluginManagerViewClass {
gpointer padding[8];
};
+_PEAS_EXTERN
GType peas_gtk_plugin_manager_view_get_type (void) G_GNUC_CONST;
+_PEAS_EXTERN
GtkWidget *peas_gtk_plugin_manager_view_new (PeasEngine *engine);
#ifndef PEAS_DISABLE_DEPRECATED
+_PEAS_EXTERN
void peas_gtk_plugin_manager_view_set_show_builtin (PeasGtkPluginManagerView *view,
gboolean show_builtin);
+_PEAS_EXTERN
gboolean peas_gtk_plugin_manager_view_get_show_builtin (PeasGtkPluginManagerView *view);
#endif
+_PEAS_EXTERN
void peas_gtk_plugin_manager_view_set_selected_plugin (PeasGtkPluginManagerView *view,
PeasPluginInfo *info);
+_PEAS_EXTERN
PeasPluginInfo *peas_gtk_plugin_manager_view_get_selected_plugin (PeasGtkPluginManagerView *view);
G_END_DECLS
diff --git a/libpeas-gtk/peas-gtk-plugin-manager.h b/libpeas-gtk/peas-gtk-plugin-manager.h
index 9b3f66b..cdcdf68 100644
--- a/libpeas-gtk/peas-gtk-plugin-manager.h
+++ b/libpeas-gtk/peas-gtk-plugin-manager.h
@@ -69,9 +69,12 @@ struct _PeasGtkPluginManagerClass
gpointer padding[8];
};
+_PEAS_EXTERN
GType peas_gtk_plugin_manager_get_type (void) G_GNUC_CONST;
+_PEAS_EXTERN
GtkWidget *peas_gtk_plugin_manager_new (PeasEngine *engine);
+_PEAS_EXTERN
GtkWidget *peas_gtk_plugin_manager_get_view (PeasGtkPluginManager *pm);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]