Skip to content
Snippets Groups Projects
  • Kevin Kofler's avatar
    00d9f211
    Add support for C++/Qt batch job plugins · 00d9f211
    Kevin Kofler authored
    These job plugins work similarly to view modules, with the following
    differences:
    
    * These jobs need to link only libcalamares, not libcalamaresui. For
      this reason, PluginFactory was moved from libcalamaresui to
      libcalamares. (It depends only on QtCore.)
    
    * Instead of deriving from ViewModule, derive from CppJob (which is a
      subclass of Job).
    
    * Like process and Python jobs, a job plugin is a single job, whereas a
      ViewModule can generate a whole list of jobs.
    
    The CppJob and CppJobModule classes are new. In Module::fromDescriptor,
    the combination type=job, intf=qtplugin is now supported and mapped to
    CppJobModule.
    00d9f211
    History
    Add support for C++/Qt batch job plugins
    Kevin Kofler authored
    These job plugins work similarly to view modules, with the following
    differences:
    
    * These jobs need to link only libcalamares, not libcalamaresui. For
      this reason, PluginFactory was moved from libcalamaresui to
      libcalamares. (It depends only on QtCore.)
    
    * Instead of deriving from ViewModule, derive from CppJob (which is a
      subclass of Job).
    
    * Like process and Python jobs, a job plugin is a single job, whereas a
      ViewModule can generate a whole list of jobs.
    
    The CppJob and CppJobModule classes are new. In Module::fromDescriptor,
    the combination type=job, intf=qtplugin is now supported and mapped to
    CppJobModule.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.