FOSSredder 0.5.0
Loading...
Searching...
No Matches
main_qml.cpp File Reference

Boots the QML application shell and wires UI-facing services. More...

Include dependency graph for main_qml.cpp:

Go to the source code of this file.

Functions

int startQmlApp (QApplication &app, core::ports::workspace::IWorkspaceReader &workspaceReader, core::ports::workspace::IWorkspaceWriter &workspaceWriter, std::shared_ptr< core::ports::diagnostics::IErrorReporter > errorReporter, std::shared_ptr< core::ports::analysis::IAnalysisRunner > analysisRunner, std::shared_ptr< core::ports::annual::IAnnualRunner > annualRunner, std::shared_ptr< core::ports::exporting::IExportRunner > exportRunner, std::shared_ptr< core::ports::importing::IImportRunner > importRunner)
 Initialize and run the QML-based UI.

Detailed Description

Boots the QML application shell and wires UI-facing services.

Definition in file main_qml.cpp.

Function Documentation

◆ startQmlApp()

int startQmlApp ( QApplication & app,
core::ports::workspace::IWorkspaceReader & workspaceReader,
core::ports::workspace::IWorkspaceWriter & workspaceWriter,
std::shared_ptr< core::ports::diagnostics::IErrorReporter > errorReporter,
std::shared_ptr< core::ports::analysis::IAnalysisRunner > analysisRunner,
std::shared_ptr< core::ports::annual::IAnnualRunner > annualRunner,
std::shared_ptr< core::ports::exporting::IExportRunner > exportRunner,
std::shared_ptr< core::ports::importing::IImportRunner > importRunner )

Initialize and run the QML-based UI.

Start the QML application UI.

Parameters
appReference to the already-created QApplication instance.
workspaceReaderWorkspace read port exposed to the UI composition.
workspaceWriterWorkspace write port exposed to the UI composition.
errorReporterReporter used by UI and workspace boundaries.
analysisRunnerAnalysis use-case runner.
annualRunnerAnnual use-case runner.
exportRunnerExport use-case runner.
importRunnerImport use-case runner.
Returns
Return value from QApplication::exec().

Definition at line 34 of file main_qml.cpp.

Here is the call graph for this function: