mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 18:05:36 -04:00
Load modules by phase, in preparation for actually using new settings.
This commit is contained in:
parent
a09ab36386
commit
2e47c248ac
5 changed files with 61 additions and 51 deletions
|
@ -20,6 +20,7 @@
|
|||
#define SETTINGS_H
|
||||
|
||||
#include "UiDllMacro.h"
|
||||
#include "Typedefs.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <QStringList>
|
||||
|
@ -37,19 +38,15 @@ public:
|
|||
static Settings* instance();
|
||||
//TODO: load from JSON then emit ready
|
||||
|
||||
QStringList modulesSearchPaths();
|
||||
|
||||
QStringList modulesPrepare();
|
||||
|
||||
QStringList modulesInstall();
|
||||
|
||||
QStringList modulesPostInstall();
|
||||
QStringList modulesSearchPaths() const;
|
||||
|
||||
QStringList modules( Phase phase ) const;
|
||||
|
||||
private:
|
||||
static Settings* s_instance;
|
||||
|
||||
QStringList m_modulesSearchPaths;
|
||||
|
||||
QStringList m_modulesPrepareList;
|
||||
QStringList m_modulesInstallList;
|
||||
QStringList m_modulesPostInstallList;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue