[gnome-games] libretro: Add LibretroError



commit e289b892739b58cc0091c2887e93f12cc6ca4233
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.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=781334

 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]