QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
RFileExporterFactory.h
Go to the documentation of this file.
1
20#ifndef RFILEEXPORTERFACTORY_H
21#define RFILEEXPORTERFACTORY_H
22
23#include "core_global.h"
24
25class RDocument;
26class RFileExporter;
27class RMessageHandler;
29
30#include <QMetaType>
31#include <QString>
32
42public:
44
45 virtual QStringList getFilterStrings() = 0;
46 virtual int canExport(const QString& fileName,
47 const QString& nameFilter = "") = 0;
49 RMessageHandler* messageHandler = NULL,
50 RProgressHandler* progressHandler = NULL) = 0;
51};
52
54
55#endif
Q_DECLARE_METATYPE(RMath *)
A graphics document contains and owns entities, layers, user coordinate systems, variables,...
Definition RDocument.h:78
Needs to be implemented by RFileExporter implementations to check if the exporter is suitable to expo...
Definition RFileExporterFactory.h:41
virtual int canExport(const QString &fileName, const QString &nameFilter="")=0
virtual QStringList getFilterStrings()=0
virtual ~RFileExporterFactory()
Definition RFileExporterFactory.h:43
virtual RFileExporter * instantiate(RDocument &document, RMessageHandler *messageHandler=NULL, RProgressHandler *progressHandler=NULL)=0
Base class for file exporters.
Definition RFileExporter.h:42
Copyright (c) 2011-2018 by Andrew Mustun.
Definition RMessageHandler.h:33
Copyright (c) 2011-2018 by Andrew Mustun.
Definition RProgressHandler.h:33
#define QCADCORE_EXPORT
Definition core_global.h:10
#define NULL
Definition opennurbs_system.h:256