Show CPU core count in CLI and add window creation helper methods

This commit is contained in:
Stone_Red
2026-06-12 02:48:52 +02:00
parent 5a7b1d1f97
commit a47656320a
4 changed files with 16 additions and 3 deletions
+12
View File
@@ -1,5 +1,7 @@
using System.Drawing;
using RemSox.Logging;
using RemSox.Processing.IPC;
using RemSox.UI.GUI.Windows;
namespace RemSox.Processing;
@@ -25,6 +27,16 @@ public abstract class Process(string name)
{
}
protected Window CreateWindow(string title, Size size)
{
return WindowManager.CreateWindow(this, title, size);
}
protected Window CreateWindow(string title, Size size, Point position)
{
return WindowManager.CreateWindow(this, title, size, position);
}
protected void SendMessageToProcess(int targetProcessId, Message message)
{
InterProcessCommunicator.Send(targetProcessId, message, this);