mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-14 19:34:32 -04:00
Add support for config map to Python job API.
Rename PythonJobHelper ==> CalamaresPython::Helper. Add QVariant to boost::python::object conversion functions. Rename some constants in the libcalamares Python API.
This commit is contained in:
parent
2f03dfa43b
commit
d9f4c74537
9 changed files with 91 additions and 27 deletions
|
@ -23,6 +23,9 @@
|
|||
|
||||
#include "PythonJob.h"
|
||||
|
||||
#undef slots
|
||||
#include <boost/python/dict.hpp>
|
||||
|
||||
namespace CalamaresPython
|
||||
{
|
||||
|
||||
|
@ -31,9 +34,10 @@ class PythonJobInterface
|
|||
public:
|
||||
explicit PythonJobInterface( const Calamares::PythonJob* parent );
|
||||
|
||||
std::string prettyName() const;
|
||||
std::string prettyName;
|
||||
std::string workingPath;
|
||||
|
||||
std::string workingPath() const;
|
||||
boost::python::dict configuration;
|
||||
|
||||
private:
|
||||
const Calamares::PythonJob* m_parent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue