[gnome-games/wip/exalm/platform-preferences] plugins: Use RetroPlatform



commit 64f2c56aae464a06812b3b49b8d1411b6cb15cc2
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Tue Sep 25 23:07:29 2018 +0500

    plugins: Use RetroPlatform

 plugins/dreamcast/src/dreamcast-plugin.vala         | 2 +-
 plugins/game-cube/src/game-cube-plugin.vala         | 2 +-
 plugins/mame/src/mame-plugin.vala                   | 2 +-
 plugins/nintendo-ds/src/nintendo-ds-plugin.vala     | 2 +-
 plugins/playstation/src/playstation-plugin.vala     | 2 +-
 plugins/sega-cd/src/sega-cd-plugin.vala             | 4 ++--
 plugins/sega-saturn/src/sega-saturn-plugin.vala     | 2 +-
 plugins/turbografx-cd/src/turbografx-cd-plugin.vala | 2 +-
 plugins/virtual-boy/src/virtual-boy-plugin.vala     | 2 +-
 plugins/wii/src/wii-plugin.vala                     | 2 +-
 10 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/plugins/dreamcast/src/dreamcast-plugin.vala b/plugins/dreamcast/src/dreamcast-plugin.vala
index 77ca8b28..8ac9a440 100644
--- a/plugins/dreamcast/src/dreamcast-plugin.vala
+++ b/plugins/dreamcast/src/dreamcast-plugin.vala
@@ -8,7 +8,7 @@ private class Games.DreamcastPlugin : Object, Plugin {
        private static Platform platform;
 
        static construct {
-               platform = new GenericPlatform (PLATFORM_ID, PLATFORM_NAME);
+               platform = new RetroPlatform (PLATFORM_ID, PLATFORM_NAME);
        }
 
        public Platform[] get_platforms () {
diff --git a/plugins/game-cube/src/game-cube-plugin.vala b/plugins/game-cube/src/game-cube-plugin.vala
index a560e03e..97409f44 100644
--- a/plugins/game-cube/src/game-cube-plugin.vala
+++ b/plugins/game-cube/src/game-cube-plugin.vala
@@ -8,7 +8,7 @@ private class Games.GameCubePlugin : Object, Plugin {
        private static Platform platform;
 
        static construct {
-               platform = new GenericPlatform (PLATFORM_ID, PLATFORM_NAME);
+               platform = new RetroPlatform (PLATFORM_ID, PLATFORM_NAME);
        }
 
        public Platform[] get_platforms () {
diff --git a/plugins/mame/src/mame-plugin.vala b/plugins/mame/src/mame-plugin.vala
index 099fc5bb..83967cb4 100644
--- a/plugins/mame/src/mame-plugin.vala
+++ b/plugins/mame/src/mame-plugin.vala
@@ -8,7 +8,7 @@ private class Games.MamePlugin : Object, Plugin {
        private static Platform platform;
 
        static construct {
-               platform = new GenericPlatform (PLATFORM_ID, PLATFORM_NAME);
+               platform = new RetroPlatform (PLATFORM_ID, PLATFORM_NAME);
        }
 
        public Platform[] get_platforms () {
diff --git a/plugins/nintendo-ds/src/nintendo-ds-plugin.vala b/plugins/nintendo-ds/src/nintendo-ds-plugin.vala
index 18c38e57..93ea10c6 100644
--- a/plugins/nintendo-ds/src/nintendo-ds-plugin.vala
+++ b/plugins/nintendo-ds/src/nintendo-ds-plugin.vala
@@ -9,7 +9,7 @@ private class Games.NintendoDsPlugin : Object, Plugin {
        private static Platform platform;
 
        static construct {
-               platform = new GenericPlatform (PLATFORM_ID, PLATFORM_NAME);
+               platform = new RetroPlatform (PLATFORM_ID, PLATFORM_NAME);
        }
 
        public Platform[] get_platforms () {
diff --git a/plugins/playstation/src/playstation-plugin.vala b/plugins/playstation/src/playstation-plugin.vala
index fcd1ee0a..324ecd3c 100644
--- a/plugins/playstation/src/playstation-plugin.vala
+++ b/plugins/playstation/src/playstation-plugin.vala
@@ -8,7 +8,7 @@ private class Games.PlayStation : Object, Plugin {
        private static Platform platform;
 
        static construct {
-               platform = new GenericPlatform (PLATFORM_ID, PLATFORM_NAME);
+               platform = new RetroPlatform (PLATFORM_ID, PLATFORM_NAME);
        }
 
        public Platform[] get_platforms () {
diff --git a/plugins/sega-cd/src/sega-cd-plugin.vala b/plugins/sega-cd/src/sega-cd-plugin.vala
index be379a2c..0993fc59 100644
--- a/plugins/sega-cd/src/sega-cd-plugin.vala
+++ b/plugins/sega-cd/src/sega-cd-plugin.vala
@@ -17,8 +17,8 @@ private class Games.SegaCDPlugin : Object, Plugin {
        private static Platform platform_sega_cd_32x;
 
        static construct {
-               platform_sega_cd = new GenericPlatform (SEGA_CD_PLATFORM_ID, SEGA_CD_PLATFORM_NAME);
-               platform_sega_cd_32x = new GenericPlatform (SEGA_CD_32X_PLATFORM_ID, 
SEGA_CD_32X_PLATFORM_NAME);
+               platform_sega_cd = new RetroPlatform (SEGA_CD_PLATFORM_ID, SEGA_CD_PLATFORM_NAME);
+               platform_sega_cd_32x = new RetroPlatform (SEGA_CD_32X_PLATFORM_ID, SEGA_CD_32X_PLATFORM_NAME);
        }
 
        public Platform[] get_platforms () {
diff --git a/plugins/sega-saturn/src/sega-saturn-plugin.vala b/plugins/sega-saturn/src/sega-saturn-plugin.vala
index f60867f2..12e2c892 100644
--- a/plugins/sega-saturn/src/sega-saturn-plugin.vala
+++ b/plugins/sega-saturn/src/sega-saturn-plugin.vala
@@ -9,7 +9,7 @@ private class Games.SegaSaturnPlugin : Object, Plugin {
        private static Platform platform;
 
        static construct {
-               platform = new GenericPlatform (PLATFORM_ID, PLATFORM_NAME);
+               platform = new RetroPlatform (PLATFORM_ID, PLATFORM_NAME);
        }
 
        public Platform[] get_platforms () {
diff --git a/plugins/turbografx-cd/src/turbografx-cd-plugin.vala 
b/plugins/turbografx-cd/src/turbografx-cd-plugin.vala
index 1015adfa..fe286385 100644
--- a/plugins/turbografx-cd/src/turbografx-cd-plugin.vala
+++ b/plugins/turbografx-cd/src/turbografx-cd-plugin.vala
@@ -12,7 +12,7 @@ private class Games.TurboGrafxCDPlugin : Object, Plugin {
        private static Platform platform;
 
        static construct {
-               platform = new GenericPlatform (PLATFORM_ID, PLATFORM_NAME);
+               platform = new RetroPlatform (PLATFORM_ID, PLATFORM_NAME);
        }
 
        public Platform[] get_platforms () {
diff --git a/plugins/virtual-boy/src/virtual-boy-plugin.vala b/plugins/virtual-boy/src/virtual-boy-plugin.vala
index b926c54b..0a6e1c3d 100644
--- a/plugins/virtual-boy/src/virtual-boy-plugin.vala
+++ b/plugins/virtual-boy/src/virtual-boy-plugin.vala
@@ -9,7 +9,7 @@ private class Games.VirtualBoyPlugin : Object, Plugin {
        private static Platform platform;
 
        static construct {
-               platform = new GenericPlatform (PLATFORM_ID, PLATFORM_NAME);
+               platform = new RetroPlatform (PLATFORM_ID, PLATFORM_NAME);
        }
 
        public Platform[] get_platforms () {
diff --git a/plugins/wii/src/wii-plugin.vala b/plugins/wii/src/wii-plugin.vala
index 1eecf092..bdf2a6ba 100644
--- a/plugins/wii/src/wii-plugin.vala
+++ b/plugins/wii/src/wii-plugin.vala
@@ -8,7 +8,7 @@ private class Games.WiiPlugin : Object, Plugin {
        private static Platform platform;
 
        static construct {
-               platform = new GenericPlatform (PLATFORM_ID, PLATFORM_NAME);
+               platform = new RetroPlatform (PLATFORM_ID, PLATFORM_NAME);
        }
 
        public Platform[] get_platforms () {


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