diff --git a/src/ChromaControl.SDK.Synapse/Internal/NativeService.cs b/src/ChromaControl.SDK.Synapse/Internal/NativeSynapseService.cs similarity index 98% rename from src/ChromaControl.SDK.Synapse/Internal/NativeService.cs rename to src/ChromaControl.SDK.Synapse/Internal/NativeSynapseService.cs index 48b6a4e..0c271eb 100644 --- a/src/ChromaControl.SDK.Synapse/Internal/NativeService.cs +++ b/src/ChromaControl.SDK.Synapse/Internal/NativeSynapseService.cs @@ -8,7 +8,7 @@ namespace ChromaControl.SDK.Synapse.Internal; -internal sealed partial class NativeService +internal sealed partial class NativeSynapseService { private static bool Is32Bit => nint.Size == 4; diff --git a/src/ChromaControl.SDK.Synapse/SynapseService.cs b/src/ChromaControl.SDK.Synapse/SynapseService.cs index a2364c1..1be853f 100644 --- a/src/ChromaControl.SDK.Synapse/SynapseService.cs +++ b/src/ChromaControl.SDK.Synapse/SynapseService.cs @@ -39,14 +39,14 @@ public SynapseService() /// public SynapseResult StartService(in Guid appId) { - var initResult = NativeService.Init(appId); + var initResult = NativeSynapseService.Init(appId); if (initResult != SynapseResult.Success) { return initResult; } - var registerResult = NativeService.RegisterEventNotification(RegisterEventNotificationCallbackState); + var registerResult = NativeSynapseService.RegisterEventNotification(RegisterEventNotificationCallbackState); if (registerResult == SynapseResult.Success) { @@ -59,14 +59,14 @@ public SynapseResult StartService(in Guid appId) /// public SynapseResult StopService() { - var unRegisterResult = NativeService.UnRegisterEventNotification(); + var unRegisterResult = NativeSynapseService.UnRegisterEventNotification(); if (unRegisterResult != SynapseResult.Success) { return unRegisterResult; } - var unInitResult = NativeService.UnInit(); + var unInitResult = NativeSynapseService.UnInit(); if (unInitResult == SynapseResult.Success) {