feat: Add Print Service Tray application with configuration and queue management

- Implemented PrintQueueService with job counting and snapshot retrieval.
- Created Form1 as the main entry point for the tray application.
- Developed ConfigurationForm for managing printer configurations and document types.
- Added models for printer configuration, queue status requests, and responses.
- Established ConfigurationService for loading and saving printer configurations.
- Introduced ServiceClient for IPC communication with the print service.
- Built TrayApplicationContext for managing the system tray icon and status updates.
- Added TODO.md for tracking remaining work and future enhancements.
This commit is contained in:
Jason
2026-05-29 10:43:48 -05:00
parent cce9248089
commit a08da0217d
17 changed files with 1541 additions and 4 deletions
@@ -59,6 +59,14 @@ public class PrintQueueService
/// </summary>
public int Count => _queue.Count;
/// <summary>
/// Get all jobs in the queue (snapshot)
/// </summary>
public PrintJob[] GetAllJobs()
{
return _queue.ToArray();
}
/// <summary>
/// Save queue state to disk
/// </summary>