[libcalamaresui] Move RequirementsChecker to libcalamares
- the checker only collects and calls requirements; it has no UI component, and only manages data (and a thread to do the checking). Move it out of the UI library.
This commit is contained in:
parent
7655584022
commit
1765412b61
@ -41,6 +41,7 @@ set( libSources
|
|||||||
modulesystem/InstanceKey.cpp
|
modulesystem/InstanceKey.cpp
|
||||||
modulesystem/Module.cpp
|
modulesystem/Module.cpp
|
||||||
modulesystem/Requirement.cpp
|
modulesystem/Requirement.cpp
|
||||||
|
modulesystem/RequirementsChecker.cpp
|
||||||
|
|
||||||
# Network service
|
# Network service
|
||||||
network/Manager.cpp
|
network/Manager.cpp
|
||||||
|
@ -25,7 +25,6 @@
|
|||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
|
|
||||||
|
|
||||||
namespace Calamares
|
namespace Calamares
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -44,7 +43,7 @@ public:
|
|||||||
RequirementsChecker( QVector< Module* > modules, QObject* parent = nullptr );
|
RequirementsChecker( QVector< Module* > modules, QObject* parent = nullptr );
|
||||||
virtual ~RequirementsChecker() override;
|
virtual ~RequirementsChecker() override;
|
||||||
|
|
||||||
public slots:
|
public Q_SLOTS:
|
||||||
/// @brief Start checking all the requirements
|
/// @brief Start checking all the requirements
|
||||||
void run();
|
void run();
|
||||||
|
|
@ -9,7 +9,6 @@ set( calamaresui_SOURCES
|
|||||||
modulesystem/ModuleFactory.cpp
|
modulesystem/ModuleFactory.cpp
|
||||||
modulesystem/ModuleManager.cpp
|
modulesystem/ModuleManager.cpp
|
||||||
modulesystem/ProcessJobModule.cpp
|
modulesystem/ProcessJobModule.cpp
|
||||||
modulesystem/RequirementsChecker.cpp
|
|
||||||
modulesystem/ViewModule.cpp
|
modulesystem/ViewModule.cpp
|
||||||
|
|
||||||
utils/CalamaresUtilsGui.cpp
|
utils/CalamaresUtilsGui.cpp
|
||||||
|
@ -19,11 +19,11 @@
|
|||||||
|
|
||||||
#include "ModuleManager.h"
|
#include "ModuleManager.h"
|
||||||
|
|
||||||
#include "RequirementsChecker.h"
|
|
||||||
#include "Settings.h"
|
|
||||||
#include "ViewManager.h"
|
#include "ViewManager.h"
|
||||||
|
|
||||||
|
#include "Settings.h"
|
||||||
#include "modulesystem/Module.h"
|
#include "modulesystem/Module.h"
|
||||||
|
#include "modulesystem/RequirementsChecker.h"
|
||||||
#include "utils/Logger.h"
|
#include "utils/Logger.h"
|
||||||
#include "utils/Yaml.h"
|
#include "utils/Yaml.h"
|
||||||
#include "viewpages/ExecutionViewStep.h"
|
#include "viewpages/ExecutionViewStep.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user