[gnome-games] libretro: Add LibretroUriSource
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] libretro: Add LibretroUriSource
- Date: Sun, 7 May 2017 12:15:34 +0000 (UTC)
commit a74e97f7104bd5c156a9b9cda78cb1259ffd84e9
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sun May 7 12:17:18 2017 +0200
libretro: Add LibretroUriSource
This will be used to iterate through the available Libretro games.
https://bugzilla.gnome.org/show_bug.cgi?id=781334
plugins/libretro/src/Makefile.am | 1 +
plugins/libretro/src/libretro-uri-source.vala | 7 +++++++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/plugins/libretro/src/Makefile.am b/plugins/libretro/src/Makefile.am
index 89e8611..f19edbd 100644
--- a/plugins/libretro/src/Makefile.am
+++ b/plugins/libretro/src/Makefile.am
@@ -12,6 +12,7 @@ libgames_libretro_plugin_la_SOURCES = \
libretro-title.vala \
libretro-uid.vala \
libretro-uri-iterator.vala \
+ libretro-uri-source.vala \
$(NULL)
libgames_libretro_plugin_la_VALAFLAGS = \
diff --git a/plugins/libretro/src/libretro-uri-source.vala b/plugins/libretro/src/libretro-uri-source.vala
new file mode 100644
index 0000000..a2f62ba
--- /dev/null
+++ b/plugins/libretro/src/libretro-uri-source.vala
@@ -0,0 +1,7 @@
+// This file is part of GNOME Games. License: GPL-3.0+.
+
+public class Games.LibretroUriSource : Object, UriSource {
+ public UriIterator iterator () {
+ return new LibretroUriIterator ();
+ }
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]