PluginFactory in Keyboard module.
This commit is contained in:
parent
7e6c626a0b
commit
90b156f97f
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
#include "KeyboardPage.h"
|
#include "KeyboardPage.h"
|
||||||
|
|
||||||
|
CALAMARES_PLUGIN_FACTORY_DEFINITION( KeyboardViewStepFactory, registerPlugin<KeyboardViewStep>(); )
|
||||||
|
|
||||||
KeyboardViewStep::KeyboardViewStep( QObject* parent )
|
KeyboardViewStep::KeyboardViewStep( QObject* parent )
|
||||||
: Calamares::ViewStep( parent )
|
: Calamares::ViewStep( parent )
|
||||||
|
@ -21,17 +21,16 @@
|
|||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
#include "viewpages/ViewStep.h"
|
#include <utils/PluginFactory.h>
|
||||||
#include "PluginDllMacro.h"
|
#include <viewpages/ViewStep.h>
|
||||||
|
|
||||||
|
#include <PluginDllMacro.h>
|
||||||
|
|
||||||
class KeyboardPage;
|
class KeyboardPage;
|
||||||
|
|
||||||
class PLUGINDLLEXPORT KeyboardViewStep : public Calamares::ViewStep
|
class PLUGINDLLEXPORT KeyboardViewStep : public Calamares::ViewStep
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_PLUGIN_METADATA( IID "calamares.ViewModule/1.0" )
|
|
||||||
|
|
||||||
Q_INTERFACES( Calamares::ViewStep )
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit KeyboardViewStep( QObject* parent = nullptr );
|
explicit KeyboardViewStep( QObject* parent = nullptr );
|
||||||
@ -69,4 +68,6 @@ private:
|
|||||||
QList< Calamares::job_ptr > m_jobs;
|
QList< Calamares::job_ptr > m_jobs;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CALAMARES_PLUGIN_FACTORY_DECLARATION( KeyboardViewStepFactory )
|
||||||
|
|
||||||
#endif // KEYBOARDVIEWSTEP_H
|
#endif // KEYBOARDVIEWSTEP_H
|
||||||
|
Loading…
Reference in New Issue
Block a user