diff options
author | Steve Frécinaux <code@istique.net> | 2010-07-12 00:32:51 +0200 |
---|---|---|
committer | Steve Frécinaux <code@istique.net> | 2010-07-27 20:52:35 +0200 |
commit | 5c6d89f17bdad86bff6fb8d061eb37603235ae7d (patch) | |
tree | 7e035f116e4f6be6162ff00c50b4fea045c91033 /libpeas/peas-extension-set.h | |
parent | a9d59b302024bad7b1349c7021646956aa60904d (diff) | |
download | libpeas-5c6d89f17bdad86bff6fb8d061eb37603235ae7d.tar.gz |
Add support for construct-properties for extensions.
https://bugzilla.gnome.org/show_bug.cgi?id=620057
Diffstat (limited to 'libpeas/peas-extension-set.h')
-rw-r--r-- | libpeas/peas-extension-set.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/libpeas/peas-extension-set.h b/libpeas/peas-extension-set.h index 7925c27..8254ca5 100644 --- a/libpeas/peas-extension-set.h +++ b/libpeas/peas-extension-set.h @@ -70,6 +70,11 @@ struct _PeasExtensionSetClass { PeasExtension *exten); }; +typedef struct _PeasParameterArray { + guint n_parameters; + GParameter *parameters; +} PeasParameterArray; + /* * Public methods */ @@ -82,8 +87,18 @@ gboolean peas_extension_set_call_valist (PeasExtensionSet *set, const gchar *method_name, va_list args); +PeasExtensionSet *peas_extension_set_newv (PeasEngine *engine, + GType exten_type, + guint n_parameters, + GParameter *parameter); +PeasExtensionSet *peas_extension_set_new_valist (PeasEngine *engine, + GType exten_type, + const gchar *first_property, + va_list var_args); PeasExtensionSet *peas_extension_set_new (PeasEngine *engine, - GType exten_type); + GType exten_type, + const gchar *first_property, + ...); G_END_DECLS |