[gnome-games] core: Add UriGameFactory.query_game_for_uri()



commit 73eca41ae6f9933150a1dff56f9c6c04c50c6739
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Fri May 5 12:29:30 2017 +0200

    core: Add UriGameFactory.query_game_for_uri()
    
    This will allow to lookup for games in URI game factories.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=780320

 src/core/uri-game-factory.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/core/uri-game-factory.vala b/src/core/uri-game-factory.vala
index be110ed..e5ada50 100644
--- a/src/core/uri-game-factory.vala
+++ b/src/core/uri-game-factory.vala
@@ -3,5 +3,6 @@ public interface Games.UriGameFactory : Object {
 
        public abstract string[] get_mime_types ();
        public abstract async void add_uri (string uri);
+       public abstract async Game? query_game_for_uri (string uri);
        public abstract async void foreach_game (Games.GameCallback game_callback);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]