mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 08:58:22 -04:00
Add optional Python jobs support to libcalamares.
This commit is contained in:
parent
754ef7dbbc
commit
b924aeef2b
7 changed files with 311 additions and 1 deletions
|
@ -20,6 +20,11 @@
|
|||
|
||||
#include "Job.h"
|
||||
|
||||
#include "CalamaresConfig.h"
|
||||
#ifdef WITH_PYTHON
|
||||
#include "PythonJobHelper.h"
|
||||
#endif
|
||||
|
||||
#include <QThread>
|
||||
|
||||
namespace Calamares
|
||||
|
@ -32,6 +37,9 @@ public:
|
|||
: QThread( queue )
|
||||
, m_queue( queue )
|
||||
{
|
||||
#ifdef WITH_PYTHON
|
||||
new PythonJobHelper( this );
|
||||
#endif
|
||||
}
|
||||
|
||||
void setJobs( const QList< Calamares::job_ptr >& jobs )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue