GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
refactor(infra): move `NoopCommand` and its handler to `Common` dir
Lars Bergerc222f1df9b31
diff --git a/GlazeWM.Domain/UserConfigs/CommandParsingService.cs b/GlazeWM.Domain/UserConfigs/CommandParsingService.csindex dfd50e0e..18ee92fa 100644--- a/GlazeWM.Domain/UserConfigs/CommandParsingService.cs+++ b/GlazeWM.Domain/UserConfigs/CommandParsingService.cs@@ -11,7 +11,6 @@ using GlazeWM.Domain.Windows;using GlazeWM.Domain.Windows.Commands;using GlazeWM.Domain.Workspaces.Commands;using GlazeWM.Infrastructure.Bussing;-using GlazeWM.Infrastructure.Bussing.Commands;using GlazeWM.Infrastructure.Common.Commands;using GlazeWM.Infrastructure.Exceptions;using GlazeWM.Infrastructure.Utils;diff --git a/GlazeWM.Infrastructure/Bussing/Commands/NoopCommand.cs b/GlazeWM.Infrastructure/Bussing/Commands/NoopCommand.csdeleted file mode 100644index 9bab5ca6..00000000--- a/GlazeWM.Infrastructure/Bussing/Commands/NoopCommand.cs+++ /dev/null@@ -1,6 +0,0 @@-namespace GlazeWM.Infrastructure.Bussing.Commands-{- public class NoopCommand : Command- {- }-}diff --git a/GlazeWM.Infrastructure/Bussing/CommandHandlers/NoopHandler.cs b/GlazeWM.Infrastructure/Common/CommandHandlers/NoopHandler.cssimilarity index 54%rename from GlazeWM.Infrastructure/Bussing/CommandHandlers/NoopHandler.csrename to GlazeWM.Infrastructure/Common/CommandHandlers/NoopHandler.csindex c7ae0fec..4c8d4c90 100644--- a/GlazeWM.Infrastructure/Bussing/CommandHandlers/NoopHandler.cs+++ b/GlazeWM.Infrastructure/Common/CommandHandlers/NoopHandler.cs@@ -1,6 +1,7 @@-using GlazeWM.Infrastructure.Bussing.Commands;+using GlazeWM.Infrastructure.Bussing;+using GlazeWM.Infrastructure.Common.Commands;-namespace GlazeWM.Infrastructure.Bussing.CommandHandlers+namespace GlazeWM.Infrastructure.Common.CommandHandlers{internal class NoopHandler : ICommandHandler<NoopCommand>{diff --git a/GlazeWM.Infrastructure/Common/Commands/NoopCommand.cs b/GlazeWM.Infrastructure/Common/Commands/NoopCommand.csnew file mode 100644index 00000000..7576bc7b--- /dev/null+++ b/GlazeWM.Infrastructure/Common/Commands/NoopCommand.cs@@ -0,0 +1,8 @@+using GlazeWM.Infrastructure.Bussing;++namespace GlazeWM.Infrastructure.Common.Commands+{+ public class NoopCommand : Command+ {+ }+}diff --git a/GlazeWM.Infrastructure/DependencyInjection.cs b/GlazeWM.Infrastructure/DependencyInjection.csindex cb0c6b6d..b4a54513 100644--- a/GlazeWM.Infrastructure/DependencyInjection.cs+++ b/GlazeWM.Infrastructure/DependencyInjection.cs@@ -1,6 +1,4 @@using GlazeWM.Infrastructure.Bussing;-using GlazeWM.Infrastructure.Bussing.CommandHandlers;-using GlazeWM.Infrastructure.Bussing.Commands;using GlazeWM.Infrastructure.Common.Commands;using GlazeWM.Infrastructure.Common.CommandHandlers;using GlazeWM.Infrastructure.Serialization;