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:
Teo Mrnjavac 2014-07-18 14:27:59 +02:00
parent 2f03dfa43b
commit d9f4c74537
9 changed files with 91 additions and 27 deletions

View file

@ -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;