[grilo] bindings/vala: Fix various bugs in Vala bindings
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] bindings/vala: Fix various bugs in Vala bindings
- Date: Thu, 10 Nov 2011 20:20:45 +0000 (UTC)
commit 7bd24c1001aee2750ad7311eba454858f3594145
Author: Sam Thursfield <sam thursfield codethink co uk>
Date: Thu Nov 10 19:21:26 2011 +0000
bindings/vala: Fix various bugs in Vala bindings
bindings/vala/grilo-0.2-custom.vala | 60 +++++++++++++++++-----------------
bindings/vala/grilo-0.2.metadata | 5 +++
2 files changed, 35 insertions(+), 30 deletions(-)
---
diff --git a/bindings/vala/grilo-0.2-custom.vala b/bindings/vala/grilo-0.2-custom.vala
index 59c025d..d3e998a 100644
--- a/bindings/vala/grilo-0.2-custom.vala
+++ b/bindings/vala/grilo-0.2-custom.vala
@@ -1,77 +1,77 @@
namespace Grl {
- [CCode (instance_pos = 2.1)]
- public delegate void MediaSourceMetadataCb (Grl.MediaSource source, Grl.Media? media, GLib.Error error);
+ [CCode (instance_pos = 3.1)]
+ public delegate void MediaSourceMetadataCb (Grl.MediaSource source, uint operation_id, Grl.Media? media, GLib.Error error);
[CCode (instance_pos = 2.1)]
public delegate void MediaSourceRemoveCb (Grl.MediaSource source, Grl.Media? media, GLib.Error error);
[CCode (instance_pos = 4.1)]
public delegate void MediaSourceResultCb (Grl.MediaSource source, uint operation_id, Grl.Media? media, uint remaining, GLib.Error? error);
[CCode (instance_pos = 3.1)]
public delegate void MediaSourceStoreCb (Grl.MediaSource source, Grl.MediaBox? parent, Grl.Media? media, GLib.Error? error);
- [CCode (instance_pos = 2.1)]
- public delegate void MetadataSourceResolveCb (Grl.MetadataSource source, Grl.Media? media, GLib.Error? error);
+ [CCode (instance_pos = 3.1)]
+ public delegate void MetadataSourceResolveCb (Grl.MetadataSource source, uint operation_id, Grl.Media? media, GLib.Error? error);
[CCode (instance_pos = 3.1)]
public delegate void MetadataSourceSetMetadataCb (Grl.MetadataSource source, Grl.Media? media, GLib.List failed_keys, GLib.Error? error);
[Compact]
public class MetadataKey {
[CCode (cname ="GRL_METADATA_KEY_ALBUM")]
- public GLib.ParamSpec ALBUM;
+ public static GLib.ParamSpec ALBUM;
[CCode (cname ="GRL_METADATA_KEY_ARTIST")]
- public GLib.ParamSpec ARTIST;
+ public static GLib.ParamSpec ARTIST;
[CCode (cname ="GRL_METADATA_KEY_AUTHOR")]
- public GLib.ParamSpec AUTHOR;
+ public static GLib.ParamSpec AUTHOR;
[CCode (cname ="GRL_METADATA_KEY_BITRATE")]
- public GLib.ParamSpec BITRATE;
+ public static GLib.ParamSpec BITRATE;
[CCode (cname ="GRL_METADATA_KEY_CERTIFICATE")]
- public GLib.ParamSpec CERTIFICATE;
+ public static GLib.ParamSpec CERTIFICATE;
[CCode (cname ="GRL_METADATA_KEY_CHILDCOUNT")]
- public GLib.ParamSpec CHILDCOUNT;
+ public static GLib.ParamSpec CHILDCOUNT;
[CCode (cname ="GRL_METADATA_KEY_DATE")]
- public GLib.ParamSpec DATE;
+ public static GLib.ParamSpec DATE;
[CCode (cname ="GRL_METADATA_KEY_DESCRIPTION")]
- public GLib.ParamSpec DESCRIPTION;
+ public static GLib.ParamSpec DESCRIPTION;
[CCode (cname ="GRL_METADATA_KEY_DURATION")]
- public GLib.ParamSpec DURATION;
+ public static GLib.ParamSpec DURATION;
[CCode (cname ="GRL_METADATA_KEY_EXTERNAL_PLAYER")]
- public GLib.ParamSpec EXTERNAL_PLAYER;
+ public static GLib.ParamSpec EXTERNAL_PLAYER;
[CCode (cname ="GRL_METADATA_KEY_EXTERNAL_URL")]
- public GLib.ParamSpec EXTERNAL_URL;
+ public static GLib.ParamSpec EXTERNAL_URL;
[CCode (cname ="GRL_METADATA_KEY_FRAMERATE")]
- public GLib.ParamSpec FRAMERATE;
+ public static GLib.ParamSpec FRAMERATE;
[CCode (cname ="GRL_METADATA_KEY_GENRE")]
- public GLib.ParamSpec GENRE;
+ public static GLib.ParamSpec GENRE;
[CCode (cname ="GRL_METADATA_KEY_HEIGHT")]
- public GLib.ParamSpec HEIGHT;
+ public static GLib.ParamSpec HEIGHT;
[CCode (cname ="GRL_METADATA_KEY_ID")]
public static GLib.ParamSpec ID;
[CCode (cname ="GRL_METADATA_KEY_LAST_PLAYED")]
- public GLib.ParamSpec LAST_PLAYED;
+ public static GLib.ParamSpec LAST_PLAYED;
[CCode (cname ="GRL_METADATA_KEY_LAST_POSITION")]
- public GLib.ParamSpec LAST_POSITION;
+ public static GLib.ParamSpec LAST_POSITION;
[CCode (cname ="GRL_METADATA_KEY_LICENSE")]
- public GLib.ParamSpec LICENSE;
+ public static GLib.ParamSpec LICENSE;
[CCode (cname ="GRL_METADATA_KEY_LYRICS")]
- public GLib.ParamSpec LYRICS;
+ public static GLib.ParamSpec LYRICS;
[CCode (cname ="GRL_METADATA_KEY_MIME")]
- public GLib.ParamSpec MIME;
+ public static GLib.ParamSpec MIME;
[CCode (cname ="GRL_METADATA_KEY_PLAY_COUNT")]
- public GLib.ParamSpec PLAY_COUNT;
+ public static GLib.ParamSpec PLAY_COUNT;
[CCode (cname ="GRL_METADATA_KEY_RATING")]
- public GLib.ParamSpec RATING;
+ public static GLib.ParamSpec RATING;
[CCode (cname ="GRL_METADATA_KEY_SITE")]
- public GLib.ParamSpec SITE;
+ public static GLib.ParamSpec SITE;
[CCode (cname ="GRL_METADATA_KEY_SOURCE")]
- public GLib.ParamSpec SOURCE;
+ public static GLib.ParamSpec SOURCE;
[CCode (cname ="GRL_METADATA_KEY_STUDIO")]
- public GLib.ParamSpec STUDIO;
+ public static GLib.ParamSpec STUDIO;
[CCode (cname ="GRL_METADATA_KEY_THUMBNAIL")]
- public GLib.ParamSpec THUMBNAIL;
+ public static GLib.ParamSpec THUMBNAIL;
[CCode (cname ="GRL_METADATA_KEY_TITLE")]
public static GLib.ParamSpec TITLE;
[CCode (cname ="GRL_METADATA_KEY_URL")]
public static GLib.ParamSpec URL;
[CCode (cname ="GRL_METADATA_KEY_WIDTH")]
- public GLib.ParamSpec WIDTH;
+ public static GLib.ParamSpec WIDTH;
public static unowned GLib.List list_new (GLib.ParamSpec p, ...);
}
diff --git a/bindings/vala/grilo-0.2.metadata b/bindings/vala/grilo-0.2.metadata
index 71bafc6..578bb50 100644
--- a/bindings/vala/grilo-0.2.metadata
+++ b/bindings/vala/grilo-0.2.metadata
@@ -1,7 +1,11 @@
# Grilo library
Grl cprefix="Grl" lower_case_cprefix="grl_" cheader_filename="grilo.h"
+# GrlConfig
+grl_config_new.source nullable="1"
+
# GrlPluginRegistry
+grl_plugin_registry_add_config.config transfer_ownership="1"
grl_plugin_registry_get_metadata_keys type_arguments="unowned KeyID" transfer_ownership="1"
grl_plugin_registry_get_sources type_arguments="unowned MediaPlugin" transfer_ownership="1"
grl_plugin_registry_get_sources_by_operations type_arguments="unowned MediaPlugin" transfer_ownership="1"
@@ -30,6 +34,7 @@ grl_metadata_source_filter_supported type_arguments="unowned KeyID" transfer_own
grl_metadata_source_filter_supported.keys type_arguments="unowned KeyID" is_ref="1"
grl_metadata_source_filter_writable type_arguments="unowned KeyID" transfer_ownership="1"
grl_metadata_source_filter_writable.keys type_arguments="unowned KeyID" is_ref="1"
+grl_metadata_source_may_resolve.missing_keys type_arguments="unowned KeyID" is_out="1" transfer_ownership="1"
grl_metadata_source_resolve.keys type_arguments="KeyID"
grl_metadata_source_resolve_sync.keys type_arguments="KeyID"
grl_metadata_source_set_metadata.keys type_arguments="KeyID"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]