21 #ifndef __qSlicerScriptedLoadableModuleFactory_h 22 #define __qSlicerScriptedLoadableModuleFactory_h 26 #include <ctkAbstractFileBasedFactory.h> 31 #include "qSlicerBaseQTGUIExport.h" 33 class qSlicerScriptedLoadableModuleFactoryPrivate;
46 public ctkAbstractFileBasedFactory<qSlicerAbstractCoreModule>
50 typedef ctkAbstractFileBasedFactory<qSlicerAbstractCoreModule>
Superclass;
54 bool registerScript(
const QString& key,
const QFileInfo& file);
57 virtual void registerItems();
60 QScopedPointer<qSlicerScriptedLoadableModuleFactoryPrivate>
d_ptr;
62 virtual bool isValidFile(
const QFileInfo& file)
const;
63 virtual ctkAbstractFactoryItem<qSlicerAbstractCoreModule>*
64 createFactoryFileBasedItem();
ctkAbstractFileBasedFactory< qSlicerAbstractCoreModule > Superclass
QScopedPointer< qSlicerScriptedLoadableModuleFactoryPrivate > d_ptr
qSlicerAbstractCoreModule is the base class of any module in Slicer.
virtual qSlicerAbstractCoreModule * instanciator()