[gnome-games] playstation: Add PlayStationGameFactory.query_game_for_uri()
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] playstation: Add PlayStationGameFactory.query_game_for_uri()
- Date: Fri, 5 May 2017 11:11:45 +0000 (UTC)
commit ef943bf4af7b51c557b30c833bebfa1bde1f856b
Author: Adrien Plazas <kekun plazas laposte net>
Date: Fri May 5 10:49:05 2017 +0200
playstation: Add PlayStationGameFactory.query_game_for_uri()
This is needed to add UriGameFactory.query_game_for_uri().
https://bugzilla.gnome.org/show_bug.cgi?id=780320
.../playstation/src/playstation-game-factory.vala | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/plugins/playstation/src/playstation-game-factory.vala
b/plugins/playstation/src/playstation-game-factory.vala
index 59852f2..e3c2066 100644
--- a/plugins/playstation/src/playstation-game-factory.vala
+++ b/plugins/playstation/src/playstation-game-factory.vala
@@ -24,6 +24,15 @@ public class Games.PlayStationGameFactory : Object, UriGameFactory {
return { SEARCHED_MIME_TYPE };
}
+ public async Game? query_game_for_uri (string uri) {
+ Idle.add (this.query_game_for_uri.callback);
+ yield;
+
+ // TODO
+
+ return null;
+ }
+
public async void add_uri (string uri) {
string disc_id;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]