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