[libcalamares] Move Requirement to libcalamares
- This isn't a UI component: a requirement can be checked and reported-on without a UI entirely.
This commit is contained in:
parent
c10ef9e3bc
commit
4ddd1ecceb
@ -39,6 +39,7 @@ set( libSources
|
|||||||
|
|
||||||
# Modules
|
# Modules
|
||||||
modulesystem/InstanceKey.cpp
|
modulesystem/InstanceKey.cpp
|
||||||
|
modulesystem/Requirement.cpp
|
||||||
|
|
||||||
# Network service
|
# Network service
|
||||||
network/Manager.cpp
|
network/Manager.cpp
|
||||||
|
@ -18,6 +18,8 @@
|
|||||||
#ifndef CALAMARES_REQUIREMENT_H
|
#ifndef CALAMARES_REQUIREMENT_H
|
||||||
#define CALAMARES_REQUIREMENT_H
|
#define CALAMARES_REQUIREMENT_H
|
||||||
|
|
||||||
|
#include "DllMacro.h"
|
||||||
|
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QMetaType>
|
#include <QMetaType>
|
||||||
#include <QString>
|
#include <QString>
|
@ -9,7 +9,6 @@ set( calamaresui_SOURCES
|
|||||||
modulesystem/Module.cpp
|
modulesystem/Module.cpp
|
||||||
modulesystem/ModuleManager.cpp
|
modulesystem/ModuleManager.cpp
|
||||||
modulesystem/ProcessJobModule.cpp
|
modulesystem/ProcessJobModule.cpp
|
||||||
modulesystem/Requirement.cpp
|
|
||||||
modulesystem/RequirementsChecker.cpp
|
modulesystem/RequirementsChecker.cpp
|
||||||
modulesystem/ViewModule.cpp
|
modulesystem/ViewModule.cpp
|
||||||
|
|
||||||
|
@ -20,12 +20,12 @@
|
|||||||
#ifndef CALAMARES_MODULE_H
|
#ifndef CALAMARES_MODULE_H
|
||||||
#define CALAMARES_MODULE_H
|
#define CALAMARES_MODULE_H
|
||||||
|
|
||||||
#include "Job.h"
|
|
||||||
#include "Requirement.h"
|
|
||||||
#include "DllMacro.h"
|
#include "DllMacro.h"
|
||||||
|
#include "Job.h"
|
||||||
|
|
||||||
#include "modulesystem/Descriptor.h"
|
#include "modulesystem/Descriptor.h"
|
||||||
#include "modulesystem/InstanceKey.h"
|
#include "modulesystem/InstanceKey.h"
|
||||||
|
#include "modulesystem/Requirement.h"
|
||||||
|
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
#include <QVariant>
|
#include <QVariant>
|
||||||
|
@ -22,8 +22,7 @@
|
|||||||
|
|
||||||
#include "modulesystem/Descriptor.h"
|
#include "modulesystem/Descriptor.h"
|
||||||
#include "modulesystem/InstanceKey.h"
|
#include "modulesystem/InstanceKey.h"
|
||||||
|
#include "modulesystem/Requirement.h"
|
||||||
#include "Requirement.h"
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
|
@ -19,17 +19,16 @@
|
|||||||
#include "RequirementsChecker.h"
|
#include "RequirementsChecker.h"
|
||||||
|
|
||||||
#include "Module.h"
|
#include "Module.h"
|
||||||
#include "Requirement.h"
|
|
||||||
|
|
||||||
|
#include "modulesystem/Requirement.h"
|
||||||
#include "utils/Logger.h"
|
#include "utils/Logger.h"
|
||||||
|
|
||||||
#include <algorithm>
|
|
||||||
|
|
||||||
#include <QFuture>
|
#include <QFuture>
|
||||||
#include <QFutureWatcher>
|
#include <QFutureWatcher>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QtConcurrent/QtConcurrent>
|
#include <QtConcurrent/QtConcurrent>
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
namespace Calamares
|
namespace Calamares
|
||||||
{
|
{
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef CALAMARES_REQUIREMENTSCHECKER_H
|
#ifndef CALAMARES_REQUIREMENTSCHECKER_H
|
||||||
#define CALAMARES_REQUIREMENTSCHECKER_H
|
#define CALAMARES_REQUIREMENTSCHECKER_H
|
||||||
|
|
||||||
#include "Requirement.h"
|
#include "modulesystem/Requirement.h"
|
||||||
|
|
||||||
#include <QFutureWatcher>
|
#include <QFutureWatcher>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
Loading…
Reference in New Issue
Block a user