[gnome-games/wip/aplazas/781334-refactor-game-source: 9/35] core: Add Plugin.get_uri_game_factories ()



commit f2f9677334af3599ba22ee3bc481f2e065fe4d37
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.

 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]