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

Also fix IShopServiceAccessSystemInterface being in the wrong namespace.
This commit is contained in:
Thomas Guillemard
2019-11-03 18:26:29 +01:00
committed by Ac_K
parent 9426ef3f06
commit b29950dbd6
38 changed files with 40 additions and 40 deletions
@@ -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,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Btm
namespace Ryujinx.HLE.HOS.Services.BluetoothManager
{
[Service("btm")]
class IBtm : IpcService
@@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Btm
namespace Ryujinx.HLE.HOS.Services.BluetoothManager
{
[Service("btm:dbg")]
class IBtmDebug : IpcService
@@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Btm
namespace Ryujinx.HLE.HOS.Services.BluetoothManager
{
[Service("btm:sys")]
class IBtmSystem : IpcService
@@ -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,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Btm
namespace Ryujinx.HLE.HOS.Services.BluetoothManager
{
enum ResultCode
{
@@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Ldr
namespace Ryujinx.HLE.HOS.Services.Loader
{
[Service("ldr:dmnt")]
class IDebugMonitorInterface : IpcService
@@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Ldr
namespace Ryujinx.HLE.HOS.Services.Loader
{
[Service("ldr:pm")]
class IProcessManagerInterface : IpcService
@@ -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,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Ldr
namespace Ryujinx.HLE.HOS.Services.Loader
{
[Service("ldr:shel")]
class IShellInterface : IpcService
@@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Ldr
namespace Ryujinx.HLE.HOS.Services.Loader
{
enum ResultCode
{
@@ -1,6 +1,6 @@
using Ryujinx.HLE.Loaders.Executables;
namespace Ryujinx.HLE.HOS.Services.Ldr
namespace Ryujinx.HLE.HOS.Services.Loader
{
class NroInfo
{
@@ -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,6 +1,6 @@
using System.Collections.Generic;
namespace Ryujinx.HLE.HOS.Services.Ldr
namespace Ryujinx.HLE.HOS.Services.Loader
{
class NrrInfo
{
@@ -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
@@ -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,7 +1,7 @@
using System;
using System.IO;
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
static class Parcel
{
@@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
struct BufferEntry
{
@@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
enum BufferState
{
@@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
enum ColorBytePerPixel
{
@@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
enum ColorComponent : uint
{
@@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
enum ColorDataType
{
@@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
enum ColorFormat : ulong
{
@@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
class ColorShift
{
@@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
enum ColorSpace : ulong
{
@@ -1,4 +1,4 @@
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
enum ColorSwizzle
{
@@ -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
@@ -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,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,6 +1,6 @@
using System;
namespace Ryujinx.HLE.HOS.Services.Android
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
[Flags]
enum HalTransform
@@ -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,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,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,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,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,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
@@ -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
@@ -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
{