[gnome-games] core: Add Plugin.get_uri_sources ()
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] core: Add Plugin.get_uri_sources ()
- Date: Thu, 4 May 2017 19:19:29 +0000 (UTC)
commit 0dafc65fad23a5fe9c14dad26e6666e1ccaef92e
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu May 4 15:50:13 2017 +0200
core: Add Plugin.get_uri_sources ()
This will allow plugins to expose URI sources.
https://bugzilla.gnome.org/show_bug.cgi?id=781334
src/core/plugin.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/core/plugin.vala b/src/core/plugin.vala
index 3358f04..ce1b83b 100644
--- a/src/core/plugin.vala
+++ b/src/core/plugin.vala
@@ -8,4 +8,8 @@ public interface Games.Plugin : Object {
public virtual string[] get_mime_types () {
return {};
}
+
+ public virtual UriSource[] get_uri_sources () {
+ return {};
+ }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]