|
FOSSredder 0.5.0
|
Boots the QML application shell and wires UI-facing services. More...
#include "MainWindow.h"#include "core/ports/diagnostics/IErrorReporter.h"#include "core/ports/usecases/analysis/IAnalysisRunner.h"#include "core/ports/usecases/annual/IAnnualRunner.h"#include "core/ports/usecases/export/IExportRunner.h"#include "core/ports/usecases/import/IImportRunner.h"#include "core/ports/workspace/IWorkspaceReader.h"#include "core/ports/workspace/IWorkspaceWriter.h"#include "ui/shell/Composition.h"#include "ui/shell/QmlDiagnostics.h"#include <QApplication>#include <memory>#include <utility>
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. | |
Boots the QML application shell and wires UI-facing services.
Definition in file main_qml.cpp.
| 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.
| app | Reference to the already-created QApplication instance. |
| workspaceReader | Workspace read port exposed to the UI composition. |
| workspaceWriter | Workspace write port exposed to the UI composition. |
| errorReporter | Reporter used by UI and workspace boundaries. |
| analysisRunner | Analysis use-case runner. |
| annualRunner | Annual use-case runner. |
| exportRunner | Export use-case runner. |
| importRunner | Import use-case runner. |
Definition at line 34 of file main_qml.cpp.
