[gnome-games/wip/aplazas/run-uri: 11/21] core: Add UriGameFactory.game_for_uri()
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/aplazas/run-uri: 11/21] core: Add UriGameFactory.game_for_uri()
- Date: Thu, 13 Apr 2017 14:22:30 +0000 (UTC)
commit 95236c8bebf8463c4b8fee6229e4cae0bd56b445
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu Apr 13 15:10:08 2017 +0200
core: Add UriGameFactory.game_for_uri()
This will be used in a subsequent commit to make a game from an URI.
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 1ef9b37..4934e99 100644
--- a/src/core/uri-game-factory.vala
+++ b/src/core/uri-game-factory.vala
@@ -1,4 +1,5 @@
public interface Games.UriGameFactory : Object {
public abstract void add_uri (string uri);
+ public abstract async Game game_for_uri (string uri) throws Error;
public abstract async void foreach_game (Games.GameCallback game_callback);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]