[gnome-games/wip/aplazas/781334-refactor-game-source: 5/11] playstation: Add PlayStationGameFacory.get_mime_types ()
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/aplazas/781334-refactor-game-source: 5/11] playstation: Add PlayStationGameFacory.get_mime_types ()
- Date: Thu, 4 May 2017 09:37:29 +0000 (UTC)
commit bfea81e1f6c1e31c5cb5548375c926c4a805c5c6
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu May 4 11:19:20 2017 +0200
playstation: Add PlayStationGameFacory.get_mime_types ()
.../playstation/src/playstation-game-factory.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/playstation/src/playstation-game-factory.vala
b/plugins/playstation/src/playstation-game-factory.vala
index 0979547..0d81f11 100644
--- a/plugins/playstation/src/playstation-game-factory.vala
+++ b/plugins/playstation/src/playstation-game-factory.vala
@@ -26,6 +26,10 @@ public class Games.PlayStationGameFactory : Object, UriGameFactory {
return is_uri_valid (uri);
}
+ public string[] get_mime_types () {
+ return { SEARCHED_MIME_TYPE };
+ }
+
public bool is_uri_valid (string uri) {
File file = File.new_for_uri(uri);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]