GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat: created IEvent and IEventHandler models
Lars4b6a30a5e9ad
diff --git a/LarsWM/Common/Models/IEvent.cs b/LarsWM/Common/Models/IEvent.csnew file mode 100644index 00000000..06fda863--- /dev/null+++ b/LarsWM/Common/Models/IEvent.cs@@ -0,0 +1,8 @@+using System;+using System.Collections.Generic;+using System.Text;++namespace LarsWM.Common.Models+{+ public interface IEvent { }+}diff --git a/LarsWM/Common/Models/IEventHandler.cs b/LarsWM/Common/Models/IEventHandler.csnew file mode 100644index 00000000..9fedd633--- /dev/null+++ b/LarsWM/Common/Models/IEventHandler.cs@@ -0,0 +1,11 @@+using System;+using System.Collections.Generic;+using System.Text;++namespace LarsWM.Common.Models+{+ public interface IEventHandler<in TEvent> where TEvent : IEvent+ {+ void Handle(TEvent @event);+ }+}