-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
713 additions
and
626 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
namespace Wtq.Core.Configuration; | ||
|
||
/// <summary> | ||
/// How WTQ should try to attach to a process. | ||
/// </summary> | ||
public enum AttachMode | ||
{ | ||
/// <summary> | ||
/// Used to detect serialization issues. | ||
/// </summary> | ||
None = 0, | ||
|
||
/// <summary> | ||
/// Always create a new process. | ||
/// </summary> | ||
Start, | ||
|
||
/// <summary> | ||
/// Only look for existing process. | ||
/// </summary> | ||
Find, | ||
|
||
/// <summary> | ||
/// Look for existing process, create one of one does not exist yet. | ||
/// </summary> | ||
FindOrStart, | ||
|
||
/// <summary> | ||
/// Attach to the foreground process when pressing the assigned hot key. | ||
/// </summary> | ||
Manual, | ||
} |
10 changes: 0 additions & 10 deletions
10
src/10-Core/Wtq.Core/Configuration/CreateProcessOptions.cs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ public enum WtqActionType | |
{ | ||
ToggleApp, | ||
|
||
HotkeyPressed, | ||
HotKeyPressed, | ||
|
||
RegisterHotkeys, | ||
RegisterHotKeys, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
using Wtq.Core.Configuration; | ||
|
||
namespace Wtq.Services; | ||
|
||
public interface IWtqAppFactory | ||
{ | ||
WtqApp Create(WtqAppOptions app); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
namespace Wtq.Core.Service; | ||
|
||
public interface IWtqHotkeyService | ||
public interface IWtqHotKeyService | ||
{ | ||
// void OnHotkey(Func<HotkeyInfo, Task> onHotkey); | ||
// void OnHotKey(Func<HotKeyInfo, Task> onHotKey); | ||
} |
Oops, something went wrong.