Retire legacy implementations and flatten managed layout
Build and test / test (macos-latest) (push) Canceled after 0s
Build and test / test (ubuntu-24.04) (push) Canceled after 0s
Build and test / test (windows-latest) (push) Canceled after 0s
Build and test / apple-client (push) Canceled after 0s

This commit is contained in:
2026-09-21 00:11:32 +02:00
parent dd811a0bb8
commit 08e6c5930a
422 changed files with 252 additions and 38242 deletions
@@ -1,5 +1,5 @@
using VoiceCat.Audio;
using VoiceCat.Interop;
using VoiceCat.Windows;
namespace VoiceCat.App.Audio;
@@ -1,4 +1,4 @@
using VoiceCat.Interop;
using VoiceCat.Windows;
namespace VoiceCat.App.Forms;
@@ -1,7 +1,7 @@
using System.ComponentModel;
using VoiceCat.App.Audio;
using VoiceCat.App.Models;
using VoiceCat.Interop;
using VoiceCat.Windows;
namespace VoiceCat.App.Forms;
@@ -1,4 +1,4 @@
using VoiceCat.Interop;
using VoiceCat.Windows;
namespace VoiceCat.App.Forms;
@@ -1,5 +1,5 @@
using VoiceCat.App.Models;
using VoiceCat.Interop;
using VoiceCat.Windows;
namespace VoiceCat.App.Forms;
@@ -2,7 +2,7 @@ using VoiceCat.App.Audio;
using VoiceCat.App.Models;
using VoiceCat.App.Native;
using VoiceCat.App.Notifications;
using VoiceCat.Interop;
using VoiceCat.Windows;
namespace VoiceCat.App.Forms;
@@ -1,4 +1,4 @@
using VoiceCat.Interop;
using VoiceCat.Windows;
namespace VoiceCat.App.Forms;
@@ -1,4 +1,4 @@
using VoiceCat.Interop;
using VoiceCat.Windows;
namespace VoiceCat.App.Forms;
@@ -1,4 +1,4 @@
using VoiceCat.Interop;
using VoiceCat.Windows;
namespace VoiceCat.App.Forms;
@@ -1,4 +1,4 @@
using VoiceCat.Interop;
using VoiceCat.Windows;
namespace VoiceCat.App.Forms;
@@ -1,4 +1,4 @@
using VoiceCat.Interop;
using VoiceCat.Windows;
namespace VoiceCat.App.Forms;
@@ -1,4 +1,4 @@
using VoiceCat.Interop;
using VoiceCat.Windows;
namespace VoiceCat.App.Forms;
@@ -62,7 +62,7 @@ internal static partial class RawInput
public uint ExtraInformation;
}
// ── P/Invoke (source-generated via LibraryImport, matching VoiceCat.Interop) ────────────
// Raw Input P/Invoke (source-generated via LibraryImport).
[LibraryImport("user32.dll", SetLastError = true)]
[return: MarshalAs(UnmanagedType.Bool)]
private static partial bool RegisterRawInputDevices(
+1 -1
View File
@@ -20,7 +20,7 @@ internal static class Program
{
try
{
using var client = new VoiceCat.Interop.VoiceCatClient("Smoke", "test");
using var client = new VoiceCat.Windows.VoiceCatClient("Smoke", "test");
using var form = new MainForm(client, 0, "Smoke", "Managed core");
form.CreateControl();
if (form.Controls.Count == 0 || string.IsNullOrEmpty(form.Text)) return 1;
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<ProjectReference Include="..\VoiceCat.Managed\VoiceCat.Managed.csproj" />
<ProjectReference Include="..\VoiceCat.Windows\VoiceCat.Windows.csproj" />
</ItemGroup>
<!-- Prismatoid — .NET bindings for the Prism speech library, used for spoken event
@@ -46,7 +46,7 @@
"voicecat.dsp": {
"type": "Project"
},
"voicecat.managed": {
"voicecat.windows": {
"type": "Project",
"dependencies": {
"VoiceCat.Core": "[1.0.0, )"
@@ -60,4 +60,4 @@
}
}
}
}
}
@@ -52,7 +52,7 @@
"voicecat.dsp": {
"type": "Project"
},
"voicecat.managed": {
"voicecat.windows": {
"type": "Project",
"dependencies": {
"VoiceCat.Core": "[1.0.0, )"
@@ -74,4 +74,4 @@
}
}
}
}
}