Procházet zdrojové kódy

hle: Fix some inconsistencies in namespace naming in Services (#808)

Also fix IShopServiceAccessSystemInterface being in the wrong namespace.
Thomas Guillemard před 6 roky
rodič
revize
b29950dbd6
38 změnil soubory, kde provedl 40 přidání a 40 odebrání
  1. 1 1
      Ryujinx.HLE/HOS/Services/BluetoothManager/BtmUser/IBtmUserCore.cs
  2. 1 1
      Ryujinx.HLE/HOS/Services/BluetoothManager/IBtm.cs
  3. 1 1
      Ryujinx.HLE/HOS/Services/BluetoothManager/IBtmDebug.cs
  4. 1 1
      Ryujinx.HLE/HOS/Services/BluetoothManager/IBtmSystem.cs
  5. 2 2
      Ryujinx.HLE/HOS/Services/BluetoothManager/IBtmUser.cs
  6. 1 1
      Ryujinx.HLE/HOS/Services/BluetoothManager/ResultCode.cs
  7. 1 1
      Ryujinx.HLE/HOS/Services/Loader/IDebugMonitorInterface.cs
  8. 1 1
      Ryujinx.HLE/HOS/Services/Loader/IProcessManagerInterface.cs
  9. 1 1
      Ryujinx.HLE/HOS/Services/Loader/IRoInterface.cs
  10. 1 1
      Ryujinx.HLE/HOS/Services/Loader/IShellInterface.cs
  11. 1 1
      Ryujinx.HLE/HOS/Services/Loader/ResultCode.cs
  12. 1 1
      Ryujinx.HLE/HOS/Services/Loader/Types/NroInfo.cs
  13. 1 1
      Ryujinx.HLE/HOS/Services/Loader/Types/NrrHeader.cs
  14. 1 1
      Ryujinx.HLE/HOS/Services/Loader/Types/NrrInfo.cs
  15. 1 1
      Ryujinx.HLE/HOS/Services/Nim/IShopServiceAccessSystemInterface.cs
  16. 2 2
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/NvFlinger.cs
  17. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Parcel.cs
  18. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/BufferEntry.cs
  19. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/BufferState.cs
  20. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/Color/ColorBytePerPixel.cs
  21. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/Color/ColorComponent.cs
  22. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/Color/ColorDataType.cs
  23. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/Color/ColorFormat.cs
  24. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/Color/ColorShift.cs
  25. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/Color/ColorSpace.cs
  26. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/Color/ColorSwizzle.cs
  27. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/Fence.cs
  28. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/GbpBuffer.cs
  29. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/GraphicBufferHeader.cs
  30. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/HalTransform.cs
  31. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/MultiFence.cs
  32. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/NvGraphicBuffer.cs
  33. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/NvGraphicBufferSurface.cs
  34. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/NvGraphicBufferSurfaceArray.cs
  35. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/QueueBufferObject.cs
  36. 1 1
      Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/Rect.cs
  37. 1 1
      Ryujinx.HLE/HOS/Services/Vi/RootService/ApplicationDisplayService/IHOSBinderDriver.cs
  38. 1 1
      Ryujinx.HLE/HOS/Services/Vi/RootService/IApplicationDisplayService.cs

+ 1 - 1
Ryujinx.HLE/HOS/Services/Btm/BtmUser/IBtmUserCore.cs → Ryujinx.HLE/HOS/Services/BluetoothManager/BtmUser/IBtmUserCore.cs

@@ -3,7 +3,7 @@ using Ryujinx.HLE.HOS.Ipc;
 using Ryujinx.HLE.HOS.Kernel.Common;
 using Ryujinx.HLE.HOS.Kernel.Threading;
 
-namespace Ryujinx.HLE.HOS.Services.Btm.BtmUser
+namespace Ryujinx.HLE.HOS.Services.BluetoothManager.BtmUser
 {
     class IBtmUserCore : IpcService
     {

+ 1 - 1
Ryujinx.HLE/HOS/Services/Btm/IBtm.cs → Ryujinx.HLE/HOS/Services/BluetoothManager/IBtm.cs

@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.HOS.Services.Btm
+namespace Ryujinx.HLE.HOS.Services.BluetoothManager
 {
     [Service("btm")]
     class IBtm : IpcService

+ 1 - 1
Ryujinx.HLE/HOS/Services/Btm/IBtmDebug.cs → Ryujinx.HLE/HOS/Services/BluetoothManager/IBtmDebug.cs

@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.HOS.Services.Btm
+namespace Ryujinx.HLE.HOS.Services.BluetoothManager
 {
     [Service("btm:dbg")]
     class IBtmDebug : IpcService

+ 1 - 1
Ryujinx.HLE/HOS/Services/Btm/IBtmSystem.cs → Ryujinx.HLE/HOS/Services/BluetoothManager/IBtmSystem.cs

@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.HOS.Services.Btm
+namespace Ryujinx.HLE.HOS.Services.BluetoothManager
 {
     [Service("btm:sys")]
     class IBtmSystem : IpcService

+ 2 - 2
Ryujinx.HLE/HOS/Services/Btm/IBtmUser.cs → Ryujinx.HLE/HOS/Services/BluetoothManager/IBtmUser.cs

@@ -1,6 +1,6 @@
-using Ryujinx.HLE.HOS.Services.Btm.BtmUser;
+using Ryujinx.HLE.HOS.Services.BluetoothManager.BtmUser;
 
-namespace Ryujinx.HLE.HOS.Services.Btm
+namespace Ryujinx.HLE.HOS.Services.BluetoothManager
 {
     [Service("btm:u")] // 5.0.0+
     class IBtmUser : IpcService

+ 1 - 1
Ryujinx.HLE/HOS/Services/Btm/ResultCode.cs → Ryujinx.HLE/HOS/Services/BluetoothManager/ResultCode.cs

@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.HOS.Services.Btm
+namespace Ryujinx.HLE.HOS.Services.BluetoothManager
 {
     enum ResultCode
     {

+ 1 - 1
Ryujinx.HLE/HOS/Services/Ldr/IDebugMonitorInterface.cs → Ryujinx.HLE/HOS/Services/Loader/IDebugMonitorInterface.cs

@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.HOS.Services.Ldr
+namespace Ryujinx.HLE.HOS.Services.Loader
 {
     [Service("ldr:dmnt")]
     class IDebugMonitorInterface : IpcService

+ 1 - 1
Ryujinx.HLE/HOS/Services/Ldr/IProcessManagerInterface.cs → Ryujinx.HLE/HOS/Services/Loader/IProcessManagerInterface.cs

@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.HOS.Services.Ldr
+namespace Ryujinx.HLE.HOS.Services.Loader
 {
     [Service("ldr:pm")]
     class IProcessManagerInterface : IpcService

+ 1 - 1
Ryujinx.HLE/HOS/Services/Ldr/IRoInterface.cs → Ryujinx.HLE/HOS/Services/Loader/IRoInterface.cs

@@ -10,7 +10,7 @@ using System.IO;
 using System.Linq;
 using System.Security.Cryptography;
 
-namespace Ryujinx.HLE.HOS.Services.Ldr
+namespace Ryujinx.HLE.HOS.Services.Loader
 {
     [Service("ldr:ro")]
     [Service("ro:1")] // 7.0.0+

+ 1 - 1
Ryujinx.HLE/HOS/Services/Ldr/IShellInterface.cs → Ryujinx.HLE/HOS/Services/Loader/IShellInterface.cs

@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.HOS.Services.Ldr
+namespace Ryujinx.HLE.HOS.Services.Loader
 {
     [Service("ldr:shel")]
     class IShellInterface : IpcService

+ 1 - 1
Ryujinx.HLE/HOS/Services/Ldr/ResultCode.cs → Ryujinx.HLE/HOS/Services/Loader/ResultCode.cs

@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.HOS.Services.Ldr
+namespace Ryujinx.HLE.HOS.Services.Loader
 {
     enum ResultCode
     {

+ 1 - 1
Ryujinx.HLE/HOS/Services/Ldr/Types/NroInfo.cs → Ryujinx.HLE/HOS/Services/Loader/Types/NroInfo.cs

@@ -1,6 +1,6 @@
 using Ryujinx.HLE.Loaders.Executables;
 
-namespace Ryujinx.HLE.HOS.Services.Ldr
+namespace Ryujinx.HLE.HOS.Services.Loader
 {
     class NroInfo
     {

+ 1 - 1
Ryujinx.HLE/HOS/Services/Ldr/Types/NrrHeader.cs → Ryujinx.HLE/HOS/Services/Loader/Types/NrrHeader.cs

@@ -1,6 +1,6 @@
 using System.Runtime.InteropServices;
 
-namespace Ryujinx.HLE.HOS.Services.Ldr
+namespace Ryujinx.HLE.HOS.Services.Loader
 {
     [StructLayout(LayoutKind.Explicit, Size = 0x350)]
     unsafe struct NrrHeader

+ 1 - 1
Ryujinx.HLE/HOS/Services/Ldr/Types/NrrInfo.cs → Ryujinx.HLE/HOS/Services/Loader/Types/NrrInfo.cs

@@ -1,6 +1,6 @@
 using System.Collections.Generic;
 
-namespace Ryujinx.HLE.HOS.Services.Ldr
+namespace Ryujinx.HLE.HOS.Services.Loader
 {
     class NrrInfo
     {

+ 1 - 1
Ryujinx.HLE/HOS/Services/Nim/IShopServiceAccessSystemInterface.cs

@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.HOS.Services.Ldr
+namespace Ryujinx.HLE.HOS.Services.Nim
 {
     [Service("nim:ecas")] // 7.0.0+
     class IShopServiceAccessSystemInterface : IpcService

+ 2 - 2
Ryujinx.HLE/HOS/Services/Android/NvFlinger.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/NvFlinger.cs

@@ -11,9 +11,9 @@ using System.Runtime.InteropServices;
 using System.Text;
 using System.Threading;
 
-using static Ryujinx.HLE.HOS.Services.Android.Parcel;
+using static Ryujinx.HLE.HOS.Services.SurfaceFlinger.Parcel;
 
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     class NvFlinger : IDisposable
     {

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Parcel.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Parcel.cs

@@ -1,7 +1,7 @@
 using System;
 using System.IO;
 
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     static class Parcel
     {

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Types/BufferEntry.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/BufferEntry.cs

@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     struct BufferEntry
     {

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Types/BufferState.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/BufferState.cs

@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     enum BufferState
     {

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Types/Color/ColorBytePerPixel.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/Color/ColorBytePerPixel.cs

@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     enum ColorBytePerPixel
     {

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Types/Color/ColorComponent.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/Color/ColorComponent.cs

@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     enum ColorComponent : uint
     {

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Types/Color/ColorDataType.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/Color/ColorDataType.cs

@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     enum ColorDataType
     {

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Types/Color/ColorFormat.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/Color/ColorFormat.cs

@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     enum ColorFormat : ulong
     {

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Types/Color/ColorShift.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/Color/ColorShift.cs

@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     class ColorShift
     {

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Types/Color/ColorSpace.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/Color/ColorSpace.cs

@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     enum ColorSpace : ulong
     {

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Types/Color/ColorSwizzle.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/Color/ColorSwizzle.cs

@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     enum ColorSwizzle
     {

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Types/Fence.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/Fence.cs

@@ -1,6 +1,6 @@
 using System.Runtime.InteropServices;
 
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     [StructLayout(LayoutKind.Sequential, Size = 0x8)]
     struct Fence

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Types/GbpBuffer.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/GbpBuffer.cs

@@ -3,7 +3,7 @@ using System;
 using System.IO;
 using System.Runtime.InteropServices;
 
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     struct GbpBuffer
     {

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Types/GraphicBufferHeader.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/GraphicBufferHeader.cs

@@ -1,6 +1,6 @@
 using System.Runtime.InteropServices;
 
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     [StructLayout(LayoutKind.Sequential, Size = 0x28)]
     struct GraphicBufferHeader

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Types/HalTransform.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/HalTransform.cs

@@ -1,6 +1,6 @@
 using System;
 
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     [Flags]
     enum HalTransform

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Types/MultiFence.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/MultiFence.cs

@@ -1,6 +1,6 @@
 using System.Runtime.InteropServices;
 
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     [StructLayout(LayoutKind.Explicit, Size = 0x24)]
     struct MultiFence

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Types/NvGraphicBuffer.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/NvGraphicBuffer.cs

@@ -1,6 +1,6 @@
 using System.Runtime.InteropServices;
 
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     [StructLayout(LayoutKind.Explicit, Size = 0x144)]
     struct NvGraphicBuffer

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Types/NvGraphicBufferSurface.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/NvGraphicBufferSurface.cs

@@ -1,6 +1,6 @@
 using System.Runtime.InteropServices;
 
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     [StructLayout(LayoutKind.Explicit, Size = 0x58)]
     struct NvGraphicBufferSurface

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Types/NvGraphicBufferSurfaceArray.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/NvGraphicBufferSurfaceArray.cs

@@ -1,7 +1,7 @@
 using System;
 using System.Runtime.InteropServices;
 
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     [StructLayout(LayoutKind.Explicit)]
     struct NvGraphicBufferSurfaceArray

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Types/QueueBufferObject.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/QueueBufferObject.cs

@@ -1,6 +1,6 @@
 using System.Runtime.InteropServices;
 
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     [StructLayout(LayoutKind.Explicit)]
     struct QueueBufferObject

+ 1 - 1
Ryujinx.HLE/HOS/Services/Android/Types/Rect.cs → Ryujinx.HLE/HOS/Services/SurfaceFlinger/Types/Rect.cs

@@ -1,6 +1,6 @@
 using System.Runtime.InteropServices;
 
-namespace Ryujinx.HLE.HOS.Services.Android
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
 {
     [StructLayout(LayoutKind.Sequential, Size = 0x10)]
     struct Rect

+ 1 - 1
Ryujinx.HLE/HOS/Services/Vi/RootService/ApplicationDisplayService/IHOSBinderDriver.cs

@@ -2,7 +2,7 @@ using Ryujinx.Graphics.Gal;
 using Ryujinx.HLE.HOS.Ipc;
 using Ryujinx.HLE.HOS.Kernel.Common;
 using Ryujinx.HLE.HOS.Kernel.Threading;
-using Ryujinx.HLE.HOS.Services.Android;
+using Ryujinx.HLE.HOS.Services.SurfaceFlinger;
 using System;
 
 namespace Ryujinx.HLE.HOS.Services.Vi.RootService.ApplicationDisplayService

+ 1 - 1
Ryujinx.HLE/HOS/Services/Vi/RootService/IApplicationDisplayService.cs

@@ -6,7 +6,7 @@ using System;
 using System.IO;
 using System.Text;
 
-using static Ryujinx.HLE.HOS.Services.Android.Parcel;
+using static Ryujinx.HLE.HOS.Services.SurfaceFlinger.Parcel;
 
 namespace Ryujinx.HLE.HOS.Services.Vi.RootService
 {