QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
25 class RDocument;
26 class RFileExporter;
27 class RMessageHandler;
28 class RProgressHandler;
29 
30 #include <QMetaType>
31 #include <QString>
32 
42 public:
43  virtual QStringList getFilterStrings() = 0;
44  virtual int canExport(const QString& fileName,
45  const QString& nameFilter = "") = 0;
46  virtual RFileExporter* instantiate(RDocument& document,
47  RMessageHandler* messageHandler = NULL,
48  RProgressHandler* progressHandler = NULL) = 0;
49 };
50 
52 
53 #endif