Skip to content

Commit

Permalink
refactor: move ipc message interfaces to Domain/Common
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-berger committed Jul 31, 2023
1 parent 0da5308 commit cd9dbe6
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion GlazeWM.Application.IpcServer/IpcMessageHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
using System.Collections.Generic;
using System.Text.Json;
using CommandLine;
using GlazeWM.Application.IpcServer.Messages;
using GlazeWM.Application.IpcServer.Server;
using GlazeWM.Domain.Common.IpcMessages;
using GlazeWM.Domain.Containers;
using GlazeWM.Domain.Monitors;
using GlazeWM.Domain.UserConfigs;
Expand Down
1 change: 0 additions & 1 deletion GlazeWM.Application.IpcServer/IpcServerManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using GlazeWM.Application.IpcServer.Server;
using GlazeWM.Infrastructure.Bussing;
using Microsoft.Extensions.Logging;
using NetCoreServer;

namespace GlazeWM.Application.IpcServer
{
Expand Down
2 changes: 1 addition & 1 deletion GlazeWM.Application/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
using CommandLine;
using GlazeWM.Application.CLI;
using GlazeWM.Application.IpcServer;
using GlazeWM.Application.IpcServer.Messages;
using GlazeWM.Application.WM;
using GlazeWM.Bar;
using GlazeWM.Domain;
using GlazeWM.Domain.Common;
using GlazeWM.Domain.Common.IpcMessages;
using GlazeWM.Domain.Containers;
using GlazeWM.Infrastructure;
using GlazeWM.Infrastructure.Bussing;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using CommandLine;

namespace GlazeWM.Application.IpcServer.Messages
namespace GlazeWM.Domain.Common.IpcMessages
{
[Verb(
"containers",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using CommandLine;

namespace GlazeWM.Application.IpcServer.Messages
namespace GlazeWM.Domain.Common.IpcMessages
{
[Verb("monitors", HelpText = "Get all monitors.")]
public class GetMonitorsMessage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using CommandLine;

namespace GlazeWM.Application.IpcServer.Messages
namespace GlazeWM.Domain.Common.IpcMessages
{
[Verb("windows", HelpText = "Get all windows.")]
public class GetWindowsMessage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using CommandLine;

namespace GlazeWM.Application.IpcServer.Messages
namespace GlazeWM.Domain.Common.IpcMessages
{
[Verb("workspaces", HelpText = "Get all workspaces.")]
public class GetWorkspacesMessage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using CommandLine;

namespace GlazeWM.Application.IpcServer.Messages
namespace GlazeWM.Domain.Common.IpcMessages
{
[Verb(
"command",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using CommandLine;

namespace GlazeWM.Application.IpcServer.Messages
namespace GlazeWM.Domain.Common.IpcMessages
{
[Verb(
"commit",
Expand Down

0 comments on commit cd9dbe6

Please sign in to comment.