20#ifndef RDXFIMPORTERFACTORY_H_
21#define RDXFIMPORTERFACTORY_H_
52 return new RDxfImporter(document, messageHandler, progressHandler);
55 virtual int canImport(
const QString& fileName,
const QString& nameFilter);
Q_DECLARE_METATYPE(RMath *)
A graphics document contains and owns entities, layers, user coordinate systems, variables,...
Definition RDocument.h:78
Definition RDxfImporterFactory.h:38
virtual RFileImporter * instantiate(RDocument &document, RMessageHandler *messageHandler=NULL, RProgressHandler *progressHandler=NULL)
Definition RDxfImporterFactory.h:48
static void registerFileImporter()
Definition RDxfImporterFactory.h:40
Importer for the DXF format, based on the dxflib library.
Definition RDxfImporter.h:59
Needs to be implemented by RFileImporter implementations to check if the importer is suitable to impo...
Definition RFileImporterFactory.h:41
virtual QStringList getFilterStrings()=0
virtual int canImport(const QString &fileName, const QString &nameFilter="")=0
Base class for file importers.
Definition RFileImporter.h:41
static void registerFileImporter(RFileImporterFactory *factory)
Registers a file importer.
Definition RFileImporterRegistry.cpp:38
Copyright (c) 2011-2018 by Andrew Mustun.
Definition RMessageHandler.h:33
Copyright (c) 2011-2018 by Andrew Mustun.
Definition RProgressHandler.h:33
#define QCADDXF_EXPORT
Definition dxf_global.h:10
#define NULL
Definition opennurbs_system.h:256