PluginFactory in Partition module.
This commit is contained in:
parent
316909303c
commit
7e6c626a0b
@ -508,3 +508,5 @@ PartitionViewStep::canBeResized( const QString& partitionPath )
|
||||
cDebug() << "Partition" << partitionWithOs << "CANNOT BE RESIZED FOR AUTOINSTALL.";
|
||||
return false;
|
||||
}
|
||||
|
||||
CALAMARES_PLUGIN_FACTORY_DEFINITION( PartitionViewStepFactory, registerPlugin<PartitionViewStep>(); )
|
||||
|
@ -20,12 +20,15 @@
|
||||
#ifndef PARTITIONVIEWSTEP_H
|
||||
#define PARTITIONVIEWSTEP_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include "viewpages/ViewStep.h"
|
||||
#include "PluginDllMacro.h"
|
||||
#include "OsproberEntry.h"
|
||||
|
||||
#include <utils/PluginFactory.h>
|
||||
#include <viewpages/ViewStep.h>
|
||||
|
||||
#include <PluginDllMacro.h>
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class ChoicePage;
|
||||
class EraseDiskPage;
|
||||
class AlongsidePage;
|
||||
@ -41,8 +44,6 @@ class QStackedWidget;
|
||||
class PLUGINDLLEXPORT PartitionViewStep : public Calamares::ViewStep
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA( IID "calamares.ViewModule/1.0" )
|
||||
Q_INTERFACES( Calamares::ViewStep )
|
||||
|
||||
public:
|
||||
explicit PartitionViewStep( QObject* parent = 0 );
|
||||
@ -82,4 +83,6 @@ private:
|
||||
ReplacePage* m_replacePage;
|
||||
};
|
||||
|
||||
CALAMARES_PLUGIN_FACTORY_DECLARATION( PartitionViewStepFactory )
|
||||
|
||||
#endif // PARTITIONVIEWSTEP_H
|
||||
|
Loading…
Reference in New Issue
Block a user