Skip to content
Snippets Groups Projects
Commit 7e6c626a authored by Teo Mrnjavac's avatar Teo Mrnjavac
Browse files

PluginFactory in Partition module.

parent 31690930
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment