summaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <jasuarez@igalia.com>2015-12-10 11:31:46 +0000
committerJuan A. Suarez Romero <jasuarez@igalia.com>2015-12-15 17:14:55 +0100
commit222beefa6d0deea483e35010878b4828bc41a5d4 (patch)
treeced29706a3bc3c3886e5469500c9c5f8c2c347df /bindings
parent6d68858dad2afbc0662021f9ca4d7167d79fb48a (diff)
downloadgrilo-222beefa6d0deea483e35010878b4828bc41a5d4.tar.gz
core: add GRL_PLUGIN_DEFINE()
Defines a new plugin that can be loaded later. It adds all the fields that usually go in the XML file. https://bugzilla.gnome.org/show_bug.cgi?id=759295
Diffstat (limited to 'bindings')
-rw-r--r--bindings/vala/grilo-0.3.vapi4
1 files changed, 4 insertions, 0 deletions
diff --git a/bindings/vala/grilo-0.3.vapi b/bindings/vala/grilo-0.3.vapi
index 91bea0f..0090c5d 100644
--- a/bindings/vala/grilo-0.3.vapi
+++ b/bindings/vala/grilo-0.3.vapi
@@ -809,6 +809,10 @@ namespace Grl {
}
[CCode (cheader_filename = "grilo.h", has_target = false)]
public delegate void OperationCancelCb (void* data);
+ [CCode (cheader_filename = "grilo.h", has_target = false)]
+ public delegate void PluginDeinitFunc (Grl.Plugin plugin);
+ [CCode (cheader_filename = "grilo.h", has_target = false)]
+ public delegate void PluginRegisterKeysFunc (Grl.Registry registry, Grl.Plugin plugin);
[CCode (cheader_filename = "grilo.h", instance_pos = 2.9)]
public delegate void SourceRemoveCb (Grl.Source source, owned Grl.Media media, GLib.Error? error);
[CCode (cheader_filename = "grilo.h", instance_pos = 3.9)]