How seikimatt/source-captioncompiler-watch works
Main Components
a. User Interface Layer (WPF)
• MainWindow component
• XAML-based UI elements
• Event handlers for user interactions
b. File System Watcher Component
• Directory monitoring system
• File change detection mechanism
• .txt file filter
c. Compilation Service Layer
• Caption compiler wrapper
• Process execution handler
• Integration with external captioncompiler.exe
d. Utility Services
• Configuration management
• Constants handling
• File system utilities
Component Relationships
• Top Layer: WPF UI (MainWindow.xaml)
• Middle Layer: File System Watcher and Event Handlers
• Bottom Layer: Compilation Service and External Tool Integration
Specific Elements
• Rectangle: UI components
• Hexagon: File System Watcher
• Circle: Compilation Service
• Diamond: External compiler tool
b. Connections:
Key Interactions to Highlight
• [WPF UI] ←→ [File System Watcher]
• ↓ ↓
• [Event Handlers] [File Detection]
• ↓ ↓
• [Compilation Service]
• ↓
• [External Compiler Tool]
Additional Details
Specific elements:
• File path configurations
• Supported file types (.txt)
• Compiler output locations
• Error handling flows
• Configuration settings
Technical Specifications
Technologies:
• .NET Framework/Core (based on .csproj)
• WPF for UI
• File System Watcher API
• Process execution for external tool