[gnome-games/wip/exalm/cleanups: 11/13] Fix class definition style



commit 60d9cb6f1c146a478d8021e76ab29d81d821ac7e
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Mon Feb 25 15:54:26 2019 +0500

    Fix class definition style

 plugins/desktop/src/desktop-uid.vala            | 2 +-
 plugins/dreamcast/src/dreamcast-uid.vala        | 2 +-
 plugins/game-cube/src/game-cube-header.vala     | 2 +-
 plugins/game-cube/src/game-cube-uid.vala        | 2 +-
 plugins/playstation/src/playstation-uid.vala    | 2 +-
 plugins/sega-saturn/src/sega-saturn-uid.vala    | 2 +-
 plugins/steam/src/steam-registry.vala           | 6 +++---
 plugins/steam/src/steam-uid.vala                | 2 +-
 plugins/virtual-boy/src/virtual-boy-header.vala | 2 +-
 plugins/wii/src/wii-header.vala                 | 2 +-
 plugins/wii/src/wii-uid.vala                    | 2 +-
 src/retro/retro-gamepad.vala                    | 2 +-
 src/retro/retro-options.vala                    | 2 +-
 src/ui/checkmark-item.vala                      | 2 +-
 src/ui/developer-list-item.vala                 | 2 +-
 src/ui/game-thumbnail.vala                      | 2 +-
 src/ui/platform-list-item.vala                  | 2 +-
 src/ui/preferences-page-controllers.vala        | 2 +-
 src/ui/preferences-page-plugins-item.vala       | 2 +-
 src/ui/preferences-page-plugins.vala            | 2 +-
 src/ui/preferences-page-video.vala              | 2 +-
 src/ui/preferences-page.vala                    | 2 +-
 src/ui/preferences-sidebar-item.vala            | 2 +-
 src/ui/preferences-sidebar.vala                 | 2 +-
 src/ui/preferences-subpage-gamepad.vala         | 2 +-
 src/ui/preferences-subpage-keyboard.vala        | 2 +-
 src/ui/preferences-subpage.vala                 | 2 +-
 src/utils/fingerprint.vala                      | 2 +-
 src/utils/xml-doc.vala                          | 2 +-
 29 files changed, 31 insertions(+), 31 deletions(-)
---
diff --git a/plugins/desktop/src/desktop-uid.vala b/plugins/desktop/src/desktop-uid.vala
index 0547c2df..629c97d5 100644
--- a/plugins/desktop/src/desktop-uid.vala
+++ b/plugins/desktop/src/desktop-uid.vala
@@ -1,6 +1,6 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
-private class Games.DesktopUid: Object, Uid {
+private class Games.DesktopUid : Object, Uid {
        private string uid;
        private DesktopAppInfo app_info;
 
diff --git a/plugins/dreamcast/src/dreamcast-uid.vala b/plugins/dreamcast/src/dreamcast-uid.vala
index 85d18f09..c27c9502 100644
--- a/plugins/dreamcast/src/dreamcast-uid.vala
+++ b/plugins/dreamcast/src/dreamcast-uid.vala
@@ -1,6 +1,6 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
-private class Games.DreamcastUid: Object, Uid {
+private class Games.DreamcastUid : Object, Uid {
        private DreamcastHeader header;
        private string uid;
 
diff --git a/plugins/game-cube/src/game-cube-header.vala b/plugins/game-cube/src/game-cube-header.vala
index 9fc0129e..58f3dd48 100644
--- a/plugins/game-cube/src/game-cube-header.vala
+++ b/plugins/game-cube/src/game-cube-header.vala
@@ -1,7 +1,7 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
 // Documentation: http://www.gc-forever.com/yagcd/chap13.html
-private class Games.GameCubeHeader: Object {
+private class Games.GameCubeHeader : Object {
        private const size_t MAGIC_OFFSET = 0x1c;
        private const string MAGIC_VALUE = "\xc2\x33\x9f\x3d";
 
diff --git a/plugins/game-cube/src/game-cube-uid.vala b/plugins/game-cube/src/game-cube-uid.vala
index 9f6690c5..c99ac4c8 100644
--- a/plugins/game-cube/src/game-cube-uid.vala
+++ b/plugins/game-cube/src/game-cube-uid.vala
@@ -1,6 +1,6 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
-private class Games.GameCubeUid: Object, Uid {
+private class Games.GameCubeUid : Object, Uid {
        private GameCubeHeader header;
        private string uid;
 
diff --git a/plugins/playstation/src/playstation-uid.vala b/plugins/playstation/src/playstation-uid.vala
index 279349c2..6f16c043 100644
--- a/plugins/playstation/src/playstation-uid.vala
+++ b/plugins/playstation/src/playstation-uid.vala
@@ -1,6 +1,6 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
-private class Games.PlayStationUid: Object, Uid {
+private class Games.PlayStationUid : Object, Uid {
        private string disc_set_id;
        private string uid;
 
diff --git a/plugins/sega-saturn/src/sega-saturn-uid.vala b/plugins/sega-saturn/src/sega-saturn-uid.vala
index 686af78b..69956937 100644
--- a/plugins/sega-saturn/src/sega-saturn-uid.vala
+++ b/plugins/sega-saturn/src/sega-saturn-uid.vala
@@ -1,6 +1,6 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
-private class Games.SegaSaturnUid: Object, Uid {
+private class Games.SegaSaturnUid : Object, Uid {
        private SegaSaturnHeader header;
        private string uid;
 
diff --git a/plugins/steam/src/steam-registry.vala b/plugins/steam/src/steam-registry.vala
index 38306cd9..fbb757df 100644
--- a/plugins/steam/src/steam-registry.vala
+++ b/plugins/steam/src/steam-registry.vala
@@ -140,11 +140,11 @@ private class Games.SteamRegistry {
        }
 }
 
-private abstract class Games.SteamRegistryValue: Object {
+private abstract class Games.SteamRegistryValue : Object {
        public string tag { construct; get; }
 }
 
-private class Games.SteamRegistryNode: SteamRegistryValue {
+private class Games.SteamRegistryNode : SteamRegistryValue {
        private List<SteamRegistryValue> children;
 
        public SteamRegistryNode (string tag) {
@@ -172,7 +172,7 @@ private class Games.SteamRegistryNode: SteamRegistryValue {
        }
 }
 
-private class Games.SteamRegistryData: SteamRegistryValue {
+private class Games.SteamRegistryData : SteamRegistryValue {
        public string data { construct; get; }
 
        public SteamRegistryData (string tag, string data) {
diff --git a/plugins/steam/src/steam-uid.vala b/plugins/steam/src/steam-uid.vala
index faf66af9..33278634 100644
--- a/plugins/steam/src/steam-uid.vala
+++ b/plugins/steam/src/steam-uid.vala
@@ -1,6 +1,6 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
-private class Games.SteamUid: Object, Uid {
+private class Games.SteamUid : Object, Uid {
        private string uid;
        private string prefix;
        private string game_id;
diff --git a/plugins/virtual-boy/src/virtual-boy-header.vala b/plugins/virtual-boy/src/virtual-boy-header.vala
index 30b71e11..9751a517 100644
--- a/plugins/virtual-boy/src/virtual-boy-header.vala
+++ b/plugins/virtual-boy/src/virtual-boy-header.vala
@@ -1,7 +1,7 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
 // Documentation: https://www.planetvb.com/content/downloads/documents/stsvb.html
-private class Games.VirtualBoyHeader: Object {
+private class Games.VirtualBoyHeader : Object {
        private const size_t MAGIC_OFFSET = 0x20C;
        private const uint8[] MAGIC_VALUE = { 0, 0, 0, 0, 0 };
 
diff --git a/plugins/wii/src/wii-header.vala b/plugins/wii/src/wii-header.vala
index c3da99db..cf1c1fa5 100644
--- a/plugins/wii/src/wii-header.vala
+++ b/plugins/wii/src/wii-header.vala
@@ -1,7 +1,7 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
 // Documentation: http://wiibrew.org/wiki/Wii_Disc
-private class Games.WiiHeader: Object {
+private class Games.WiiHeader : Object {
        private const size_t MAGIC_OFFSET = 0x18;
        private const string MAGIC_VALUE = "\x5d\x1c\x9e\xa3";
 
diff --git a/plugins/wii/src/wii-uid.vala b/plugins/wii/src/wii-uid.vala
index 898efd5f..3f193be2 100644
--- a/plugins/wii/src/wii-uid.vala
+++ b/plugins/wii/src/wii-uid.vala
@@ -1,6 +1,6 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
-private class Games.WiiUid: Object, Uid {
+private class Games.WiiUid : Object, Uid {
        private WiiHeader header;
        private string uid;
 
diff --git a/src/retro/retro-gamepad.vala b/src/retro/retro-gamepad.vala
index ebd452ae..637f8438 100644
--- a/src/retro/retro-gamepad.vala
+++ b/src/retro/retro-gamepad.vala
@@ -1,6 +1,6 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
-private class Games.RetroGamepad: Object, Retro.Controller {
+private class Games.RetroGamepad : Object, Retro.Controller {
        public Manette.Device device { get; construct; }
        public bool present_analog_sticks { get; construct; }
 
diff --git a/src/retro/retro-options.vala b/src/retro/retro-options.vala
index 7e484092..22c4e869 100644
--- a/src/retro/retro-options.vala
+++ b/src/retro/retro-options.vala
@@ -1,6 +1,6 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
-private class Games.RetroOptions: Object {
+private class Games.RetroOptions : Object {
        public const string OPTIONS_GROUP = "Options";
 
        private KeyFile keyfile;
diff --git a/src/ui/checkmark-item.vala b/src/ui/checkmark-item.vala
index 3011bcd6..4599e6ca 100644
--- a/src/ui/checkmark-item.vala
+++ b/src/ui/checkmark-item.vala
@@ -1,7 +1,7 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
 [GtkTemplate (ui = "/org/gnome/Games/ui/checkmark-item.ui")]
-private class Games.CheckmarkItem: Gtk.ListBoxRow {
+private class Games.CheckmarkItem : Gtk.ListBoxRow {
        [GtkChild]
        private Gtk.Label title_label;
        [GtkChild]
diff --git a/src/ui/developer-list-item.vala b/src/ui/developer-list-item.vala
index 236dcac0..d6aceef5 100644
--- a/src/ui/developer-list-item.vala
+++ b/src/ui/developer-list-item.vala
@@ -1,4 +1,4 @@
-private class Games.DeveloperListItem: Games.SidebarListItem {
+private class Games.DeveloperListItem : Games.SidebarListItem {
        private Developer _developer;
        public Developer developer {
                get { return _developer; }
diff --git a/src/ui/game-thumbnail.vala b/src/ui/game-thumbnail.vala
index 99bcc89c..bfd69177 100644
--- a/src/ui/game-thumbnail.vala
+++ b/src/ui/game-thumbnail.vala
@@ -1,6 +1,6 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
-private class Games.GameThumbnail: Gtk.DrawingArea {
+private class Games.GameThumbnail : Gtk.DrawingArea {
        private const Gtk.CornerType[] right_corners = { Gtk.CornerType.TOP_RIGHT, 
Gtk.CornerType.BOTTOM_RIGHT };
        private const Gtk.CornerType[] bottom_corners = { Gtk.CornerType.BOTTOM_LEFT, 
Gtk.CornerType.BOTTOM_RIGHT };
 
diff --git a/src/ui/platform-list-item.vala b/src/ui/platform-list-item.vala
index 4a2dcccb..df4d220d 100644
--- a/src/ui/platform-list-item.vala
+++ b/src/ui/platform-list-item.vala
@@ -1,4 +1,4 @@
-private class Games.PlatformListItem: Games.SidebarListItem {
+private class Games.PlatformListItem : Games.SidebarListItem {
        private Platform _platform;
        public Platform platform {
                get { return _platform; }
diff --git a/src/ui/preferences-page-controllers.vala b/src/ui/preferences-page-controllers.vala
index 93561000..7af5afc2 100644
--- a/src/ui/preferences-page-controllers.vala
+++ b/src/ui/preferences-page-controllers.vala
@@ -1,7 +1,7 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
 [GtkTemplate (ui = "/org/gnome/Games/ui/preferences-page-controllers.ui")]
-private class Games.PreferencesPageControllers: PreferencesPage {
+private class Games.PreferencesPageControllers : PreferencesPage {
        [GtkChild]
        private Gtk.Label gamepads_label;
        [GtkChild]
diff --git a/src/ui/preferences-page-plugins-item.vala b/src/ui/preferences-page-plugins-item.vala
index e613fa25..bedd351d 100644
--- a/src/ui/preferences-page-plugins-item.vala
+++ b/src/ui/preferences-page-plugins-item.vala
@@ -1,7 +1,7 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
 [GtkTemplate (ui = "/org/gnome/Games/ui/preferences-page-plugins-item.ui")]
-private class Games.PreferencesPagePluginsItem: Gtk.Box {
+private class Games.PreferencesPagePluginsItem : Gtk.Box {
        [GtkChild]
        private Gtk.Label plugin_name;
        [GtkChild]
diff --git a/src/ui/preferences-page-plugins.vala b/src/ui/preferences-page-plugins.vala
index 667af5df..b2de3ce3 100644
--- a/src/ui/preferences-page-plugins.vala
+++ b/src/ui/preferences-page-plugins.vala
@@ -1,7 +1,7 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
 [GtkTemplate (ui = "/org/gnome/Games/ui/preferences-page-plugins.ui")]
-private class Games.PreferencesPagePlugins: PreferencesPage {
+private class Games.PreferencesPagePlugins : PreferencesPage {
        [GtkChild]
        private Gtk.ListBox list_box;
 
diff --git a/src/ui/preferences-page-video.vala b/src/ui/preferences-page-video.vala
index 6f79df9c..5a096588 100644
--- a/src/ui/preferences-page-video.vala
+++ b/src/ui/preferences-page-video.vala
@@ -1,7 +1,7 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
 [GtkTemplate (ui = "/org/gnome/Games/ui/preferences-page-video.ui")]
-private class Games.PreferencesPageVideo: PreferencesPage {
+private class Games.PreferencesPageVideo : PreferencesPage {
        private string _filter_active;
        public string filter_active {
                set {
diff --git a/src/ui/preferences-page.vala b/src/ui/preferences-page.vala
index efa52abe..36e6e9df 100644
--- a/src/ui/preferences-page.vala
+++ b/src/ui/preferences-page.vala
@@ -1,7 +1,7 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
 [GtkTemplate (ui = "/org/gnome/Games/ui/preferences-page.ui")]
-private class Games.PreferencesPage: Gtk.Bin, Gtk.Buildable {
+private class Games.PreferencesPage : Gtk.Bin, Gtk.Buildable {
        public PreferencesSubpage subpage { get; protected set; }
        public string title { get; construct set; }
 
diff --git a/src/ui/preferences-sidebar-item.vala b/src/ui/preferences-sidebar-item.vala
index 9fd38e83..b9f45664 100644
--- a/src/ui/preferences-sidebar-item.vala
+++ b/src/ui/preferences-sidebar-item.vala
@@ -1,5 +1,5 @@
 [GtkTemplate (ui = "/org/gnome/Games/ui/preferences-sidebar-item.ui")]
-private class Games.PreferencesSidebarItem: Gtk.ListBoxRow {
+private class Games.PreferencesSidebarItem : Gtk.ListBoxRow {
        [GtkChild]
        private Gtk.Label label;
 
diff --git a/src/ui/preferences-sidebar.vala b/src/ui/preferences-sidebar.vala
index 577c6a92..6807f7d3 100644
--- a/src/ui/preferences-sidebar.vala
+++ b/src/ui/preferences-sidebar.vala
@@ -1,7 +1,7 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
 [GtkTemplate (ui = "/org/gnome/Games/ui/preferences-sidebar.ui")]
-private class Games.PreferencesSidebar: Gtk.Bin {
+private class Games.PreferencesSidebar : Gtk.Bin {
        private ulong child_added_id;
 
        private Gtk.Stack _stack;
diff --git a/src/ui/preferences-subpage-gamepad.vala b/src/ui/preferences-subpage-gamepad.vala
index 3e07ccd1..fc661136 100644
--- a/src/ui/preferences-subpage-gamepad.vala
+++ b/src/ui/preferences-subpage-gamepad.vala
@@ -1,7 +1,7 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
 [GtkTemplate (ui = "/org/gnome/Games/ui/preferences-subpage-gamepad.ui")]
-private class Games.PreferencesSubpageGamepad: Gtk.Box, PreferencesSubpage {
+private class Games.PreferencesSubpageGamepad : Gtk.Box, PreferencesSubpage {
        private const GamepadInput[] STANDARD_GAMEPAD_INPUTS = {
                { EventCode.EV_KEY, EventCode.BTN_A },
                { EventCode.EV_KEY, EventCode.BTN_B },
diff --git a/src/ui/preferences-subpage-keyboard.vala b/src/ui/preferences-subpage-keyboard.vala
index 69ec80ce..16a243e5 100644
--- a/src/ui/preferences-subpage-keyboard.vala
+++ b/src/ui/preferences-subpage-keyboard.vala
@@ -1,7 +1,7 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
 [GtkTemplate (ui = "/org/gnome/Games/ui/preferences-subpage-keyboard.ui")]
-private class Games.PreferencesSubpageKeyboard: Gtk.Box, PreferencesSubpage {
+private class Games.PreferencesSubpageKeyboard : Gtk.Box, PreferencesSubpage {
        private const GamepadInput[] KEYBOARD_GAMEPAD_INPUTS = {
                { EventCode.EV_KEY, EventCode.BTN_A },
                { EventCode.EV_KEY, EventCode.BTN_B },
diff --git a/src/ui/preferences-subpage.vala b/src/ui/preferences-subpage.vala
index ad70e858..7daf840b 100644
--- a/src/ui/preferences-subpage.vala
+++ b/src/ui/preferences-subpage.vala
@@ -1,6 +1,6 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
-private interface Games.PreferencesSubpage: Gtk.Widget {
+private interface Games.PreferencesSubpage : Gtk.Widget {
        public abstract Gtk.HeaderBar header_bar { get; }
        public abstract bool request_selection_mode { get; set; }
 }
diff --git a/src/utils/fingerprint.vala b/src/utils/fingerprint.vala
index d1f5fc3c..6fd3a680 100644
--- a/src/utils/fingerprint.vala
+++ b/src/utils/fingerprint.vala
@@ -24,7 +24,7 @@ namespace Games.Fingerprint {
        }
 }
 
-public class Games.FingerprintUid: Object, Uid {
+public class Games.FingerprintUid : Object, Uid {
        private Uri uri;
        private string prefix;
        private size_t start;
diff --git a/src/utils/xml-doc.vala b/src/utils/xml-doc.vala
index cc92e427..259075db 100644
--- a/src/utils/xml-doc.vala
+++ b/src/utils/xml-doc.vala
@@ -1,6 +1,6 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
-private class Games.XmlDoc: Object {
+private class Games.XmlDoc : Object {
        private delegate void NodeCallback (Xml.Node* node);
 
        private Xml.Doc* doc;


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