[gnome-games] core: Add Plugin.get_uri_game_factories ()
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] core: Add Plugin.get_uri_game_factories ()
- Date: Thu, 4 May 2017 19:19:34 +0000 (UTC)
commit f6269d9bf91bb8e223a33ebdb78f3735468a8695
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu May 4 14:14:09 2017 +0200
core: Add Plugin.get_uri_game_factories ()
This will allow plugins to expose factories to build games from URIs.
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 ce1b83b..847da84 100644
--- a/src/core/plugin.vala
+++ b/src/core/plugin.vala
@@ -12,4 +12,8 @@ public interface Games.Plugin : Object {
public virtual UriSource[] get_uri_sources () {
return {};
}
+
+ public virtual UriGameFactory[] get_uri_game_factories () {
+ return {};
+ }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]