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



commit 6ee0b730181a75cc2f1b2b10bc9bcf8b2084d6a3
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Fri May 5 10:40:20 2017 +0200

    core: Add UriGameFactory.game_added() signal
    
    This will allow URI game factories to notify of the creation of a game.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=781334

 src/core/uri-game-factory.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/core/uri-game-factory.vala b/src/core/uri-game-factory.vala
index deeb2c8..be110ed 100644
--- a/src/core/uri-game-factory.vala
+++ b/src/core/uri-game-factory.vala
@@ -1,4 +1,6 @@
 public interface Games.UriGameFactory : Object {
+       public signal void game_added (Game game);
+
        public abstract string[] get_mime_types ();
        public abstract async void add_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]