[gnome-games] mega-drive: Add MegaDriveSystem



commit 8f4d9f513f6b18a09781508998cbc7cc1869e90a
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Wed Aug 3 11:05:29 2016 +0200

    mega-drive: Add MegaDriveSystem
    
    This will be used in the next commits to discriminate the different
    systems of the Mega Drive family.

 plugins/mega-drive/src/Makefile.am            |    1 +
 plugins/mega-drive/src/mega-drive-system.vala |   10 ++++++++++
 2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/plugins/mega-drive/src/Makefile.am b/plugins/mega-drive/src/Makefile.am
index f754ef2..596936b 100644
--- a/plugins/mega-drive/src/Makefile.am
+++ b/plugins/mega-drive/src/Makefile.am
@@ -8,6 +8,7 @@ libgames_mega_drive_plugin_la_DEPENDENCIES = \
 libgames_mega_drive_plugin_la_SOURCES = \
        mega-drive-header.vala \
        mega-drive-plugin.vala \
+       mega-drive-system.vala \
        $(NULL)
 
 libgames_mega_drive_plugin_la_VALAFLAGS = \
diff --git a/plugins/mega-drive/src/mega-drive-system.vala b/plugins/mega-drive/src/mega-drive-system.vala
new file mode 100644
index 0000000..0124cba
--- /dev/null
+++ b/plugins/mega-drive/src/mega-drive-system.vala
@@ -0,0 +1,10 @@
+// This file is part of GNOME Games. License: GPLv3
+
+private enum Games.MegaDriveSystem {
+       INVALID,
+       MEGA_DRIVE,
+       32X,
+       PICO,
+       MEGA_CD,
+       MEGA_CD_32X,
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]