From c7a13740f96886c69b8f8a47583465d0778a8002 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 13 Jul 2017 13:53:45 +0900 Subject: [PATCH] Move sections to own namespace --- .../Profile/{ => Sections}/AboutSection.cs | 3 +-- .../Profile/{ => Sections}/BeatmapsSection.cs | 2 +- .../Profile/{ => Sections}/HistoricalSection.cs | 2 +- .../Profile/{ => Sections}/KudosuSection.cs | 2 +- .../Profile/{ => Sections}/MedalsSection.cs | 2 +- .../Profile/{ => Sections}/RanksSection.cs | 2 +- .../Profile/{ => Sections}/RecentSection.cs | 2 +- osu.Game/Overlays/UserProfileOverlay.cs | 1 + osu.Game/osu.Game.csproj | 14 +++++++------- 9 files changed, 15 insertions(+), 15 deletions(-) rename osu.Game/Overlays/Profile/{ => Sections}/AboutSection.cs (84%) rename osu.Game/Overlays/Profile/{ => Sections}/BeatmapsSection.cs (85%) rename osu.Game/Overlays/Profile/{ => Sections}/HistoricalSection.cs (85%) rename osu.Game/Overlays/Profile/{ => Sections}/KudosuSection.cs (85%) rename osu.Game/Overlays/Profile/{ => Sections}/MedalsSection.cs (85%) rename osu.Game/Overlays/Profile/{ => Sections}/RanksSection.cs (85%) rename osu.Game/Overlays/Profile/{ => Sections}/RecentSection.cs (85%) diff --git a/osu.Game/Overlays/Profile/AboutSection.cs b/osu.Game/Overlays/Profile/Sections/AboutSection.cs similarity index 84% rename from osu.Game/Overlays/Profile/AboutSection.cs rename to osu.Game/Overlays/Profile/Sections/AboutSection.cs index 8dc27b1fdf..1d15300eca 100644 --- a/osu.Game/Overlays/Profile/AboutSection.cs +++ b/osu.Game/Overlays/Profile/Sections/AboutSection.cs @@ -1,8 +1,7 @@ // Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE - -namespace osu.Game.Overlays.Profile +namespace osu.Game.Overlays.Profile.Sections { public class AboutSection : ProfileSection { diff --git a/osu.Game/Overlays/Profile/BeatmapsSection.cs b/osu.Game/Overlays/Profile/Sections/BeatmapsSection.cs similarity index 85% rename from osu.Game/Overlays/Profile/BeatmapsSection.cs rename to osu.Game/Overlays/Profile/Sections/BeatmapsSection.cs index 0748b7d943..1c39223e6f 100644 --- a/osu.Game/Overlays/Profile/BeatmapsSection.cs +++ b/osu.Game/Overlays/Profile/Sections/BeatmapsSection.cs @@ -1,7 +1,7 @@ // Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -namespace osu.Game.Overlays.Profile +namespace osu.Game.Overlays.Profile.Sections { public class BeatmapsSection : ProfileSection { diff --git a/osu.Game/Overlays/Profile/HistoricalSection.cs b/osu.Game/Overlays/Profile/Sections/HistoricalSection.cs similarity index 85% rename from osu.Game/Overlays/Profile/HistoricalSection.cs rename to osu.Game/Overlays/Profile/Sections/HistoricalSection.cs index a4d03d1938..78ed6bf846 100644 --- a/osu.Game/Overlays/Profile/HistoricalSection.cs +++ b/osu.Game/Overlays/Profile/Sections/HistoricalSection.cs @@ -1,7 +1,7 @@ // Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -namespace osu.Game.Overlays.Profile +namespace osu.Game.Overlays.Profile.Sections { public class HistoricalSection : ProfileSection { diff --git a/osu.Game/Overlays/Profile/KudosuSection.cs b/osu.Game/Overlays/Profile/Sections/KudosuSection.cs similarity index 85% rename from osu.Game/Overlays/Profile/KudosuSection.cs rename to osu.Game/Overlays/Profile/Sections/KudosuSection.cs index bb3988230c..3c36368fd7 100644 --- a/osu.Game/Overlays/Profile/KudosuSection.cs +++ b/osu.Game/Overlays/Profile/Sections/KudosuSection.cs @@ -1,7 +1,7 @@ // Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -namespace osu.Game.Overlays.Profile +namespace osu.Game.Overlays.Profile.Sections { public class KudosuSection : ProfileSection { diff --git a/osu.Game/Overlays/Profile/MedalsSection.cs b/osu.Game/Overlays/Profile/Sections/MedalsSection.cs similarity index 85% rename from osu.Game/Overlays/Profile/MedalsSection.cs rename to osu.Game/Overlays/Profile/Sections/MedalsSection.cs index eaefc4cc42..47a3e6f4d0 100644 --- a/osu.Game/Overlays/Profile/MedalsSection.cs +++ b/osu.Game/Overlays/Profile/Sections/MedalsSection.cs @@ -1,7 +1,7 @@ // Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -namespace osu.Game.Overlays.Profile +namespace osu.Game.Overlays.Profile.Sections { public class MedalsSection : ProfileSection { diff --git a/osu.Game/Overlays/Profile/RanksSection.cs b/osu.Game/Overlays/Profile/Sections/RanksSection.cs similarity index 85% rename from osu.Game/Overlays/Profile/RanksSection.cs rename to osu.Game/Overlays/Profile/Sections/RanksSection.cs index df41077996..5ea135fcac 100644 --- a/osu.Game/Overlays/Profile/RanksSection.cs +++ b/osu.Game/Overlays/Profile/Sections/RanksSection.cs @@ -1,7 +1,7 @@ // Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -namespace osu.Game.Overlays.Profile +namespace osu.Game.Overlays.Profile.Sections { public class RanksSection : ProfileSection { diff --git a/osu.Game/Overlays/Profile/RecentSection.cs b/osu.Game/Overlays/Profile/Sections/RecentSection.cs similarity index 85% rename from osu.Game/Overlays/Profile/RecentSection.cs rename to osu.Game/Overlays/Profile/Sections/RecentSection.cs index 7bc1b5def1..7bd41eac79 100644 --- a/osu.Game/Overlays/Profile/RecentSection.cs +++ b/osu.Game/Overlays/Profile/Sections/RecentSection.cs @@ -1,7 +1,7 @@ // Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -namespace osu.Game.Overlays.Profile +namespace osu.Game.Overlays.Profile.Sections { public class RecentSection : ProfileSection { diff --git a/osu.Game/Overlays/UserProfileOverlay.cs b/osu.Game/Overlays/UserProfileOverlay.cs index 2cf049dd89..d2e9bdcb46 100644 --- a/osu.Game/Overlays/UserProfileOverlay.cs +++ b/osu.Game/Overlays/UserProfileOverlay.cs @@ -16,6 +16,7 @@ using osu.Game.Online.API; using osu.Game.Online.API.Requests; using osu.Game.Overlays.Profile; +using osu.Game.Overlays.Profile.Sections; using osu.Game.Users; namespace osu.Game.Overlays diff --git a/osu.Game/osu.Game.csproj b/osu.Game/osu.Game.csproj index a35761a9d6..bc01b93c44 100644 --- a/osu.Game/osu.Game.csproj +++ b/osu.Game/osu.Game.csproj @@ -99,14 +99,14 @@ - - - - - + + + + + - - + +