mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-04 00:56:19 +02:00
Show CPU core count in CLI and add window creation helper methods
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user