Return configurationMap from Module.
This commit is contained in:
parent
8a60abdfc9
commit
4e2e964503
@ -1,6 +1,6 @@
|
||||
/* === This file is part of Calamares - <http://github.com/calamares> ===
|
||||
*
|
||||
* Copyright 2014, Teo Mrnjavac <teo@kde.org>
|
||||
* Copyright 2014-2015, Teo Mrnjavac <teo@kde.org>
|
||||
*
|
||||
* Calamares is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -213,6 +213,13 @@ Module::isLoaded() const
|
||||
}
|
||||
|
||||
|
||||
QVariantMap
|
||||
Module::configurationMap()
|
||||
{
|
||||
return m_configurationMap;
|
||||
}
|
||||
|
||||
|
||||
Module::Module()
|
||||
: m_loaded( false )
|
||||
{}
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* === This file is part of Calamares - <http://github.com/calamares> ===
|
||||
*
|
||||
* Copyright 2014, Teo Mrnjavac <teo@kde.org>
|
||||
* Copyright 2014-2015, Teo Mrnjavac <teo@kde.org>
|
||||
*
|
||||
* Calamares is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -73,6 +73,8 @@ public:
|
||||
|
||||
virtual QList< job_ptr > jobs() const = 0;
|
||||
|
||||
QVariantMap configurationMap();
|
||||
|
||||
protected:
|
||||
explicit Module();
|
||||
virtual void initFrom( const YAML::Node& node );
|
||||
|
Loading…
Reference in New Issue
Block a user