[gnome-games/wip/aplazas/781334-refactor-game-sources: 3/5] libretro: Add LibretroError
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/aplazas/781334-refactor-game-sources: 3/5] libretro: Add LibretroError
- Date: Sun, 7 May 2017 10:27:04 +0000 (UTC)
commit 6b39fddb4a0d9d177ff312f6500754d3525c5a9c
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sun May 7 12:17:59 2017 +0200
libretro: Add LibretroError
This will be used in the next commit to express failure when building a
Libretro game.
plugins/libretro/src/Makefile.am | 1 +
plugins/libretro/src/libretro-error.vala | 6 ++++++
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/plugins/libretro/src/Makefile.am b/plugins/libretro/src/Makefile.am
index f19edbd..4969d4b 100644
--- a/plugins/libretro/src/Makefile.am
+++ b/plugins/libretro/src/Makefile.am
@@ -7,6 +7,7 @@ libgames_libretro_plugin_la_DEPENDENCIES = \
libgames_libretro_plugin_la_SOURCES = \
libretro-game-source.vala \
+ libretro-error.vala \
libretro-icon.vala \
libretro-plugin.vala \
libretro-title.vala \
diff --git a/plugins/libretro/src/libretro-error.vala b/plugins/libretro/src/libretro-error.vala
new file mode 100644
index 0000000..a106ac7
--- /dev/null
+++ b/plugins/libretro/src/libretro-error.vala
@@ -0,0 +1,6 @@
+// This file is part of GNOME Games. License: GPLv3
+
+errordomain Games.LibretroError {
+ NOT_A_LIBRETRO_DESCRIPTOR,
+ NOT_A_GAME,
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]