|
|
@ -42,7 +42,7 @@ BOOST_PYTHON_MODULE( libcalamares )
|
|
|
|
bp::scope().attr( "version" ) = CALAMARES_VERSION;
|
|
|
|
bp::scope().attr( "version" ) = CALAMARES_VERSION;
|
|
|
|
bp::scope().attr( "shortVersion" ) = CALAMARES_VERSION_SHORT;
|
|
|
|
bp::scope().attr( "shortVersion" ) = CALAMARES_VERSION_SHORT;
|
|
|
|
|
|
|
|
|
|
|
|
bp::class_< CalamaresPython::PythonJobInterface >( "job", bp::init< const Calamares::PythonJob* >() )
|
|
|
|
bp::class_< CalamaresPython::PythonJobInterface >( "job", bp::init< Calamares::PythonJob* >() )
|
|
|
|
.def_readonly( "prettyName", &CalamaresPython::PythonJobInterface::prettyName )
|
|
|
|
.def_readonly( "prettyName", &CalamaresPython::PythonJobInterface::prettyName )
|
|
|
|
.def_readonly( "workingPath", &CalamaresPython::PythonJobInterface::workingPath )
|
|
|
|
.def_readonly( "workingPath", &CalamaresPython::PythonJobInterface::workingPath )
|
|
|
|
.def_readonly( "configuration", &CalamaresPython::PythonJobInterface::configuration )
|
|
|
|
.def_readonly( "configuration", &CalamaresPython::PythonJobInterface::configuration )
|
|
|
@ -150,9 +150,9 @@ PythonJob::exec()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
void
|
|
|
|
PythonJob::emitProgress( double progressValue ) const
|
|
|
|
PythonJob::emitProgress( qreal progressValue )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//emit progress( progressValue );
|
|
|
|
emit progress( progressValue );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|