Skip to content

Commit

Permalink
chore: rename NativeService to NativeSynapseService
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBabbitt97 committed Jul 14, 2024
1 parent 9a80c00 commit c86fd3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
8 changes: 4 additions & 4 deletions src/ChromaControl.SDK.Synapse/SynapseService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ public SynapseService()
/// <inheritdoc/>
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)
{
Expand All @@ -59,14 +59,14 @@ public SynapseResult StartService(in Guid appId)
/// <inheritdoc/>
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)
{
Expand Down

0 comments on commit c86fd3d

Please sign in to comment.