#define RS_FILTERINTERFACE_H
#include <QtCore>
-#include "rs_graphic.h"
+#include "drawing.h"
/**
* This is the interface that must be implemented for all
* class should read a file from disk and put the entities
* into the current entity container.
*/
- virtual bool fileImport(RS_Graphic & g, const QString & file, RS2::FormatType type) = 0;
+ virtual bool fileImport(Drawing & g, const QString & file, RS2::FormatType type) = 0;
/**
* The implementation of this method in a inherited format
* class should write the entities in the current entity container
* to a file on the disk.
*/
- virtual bool fileExport(RS_Graphic & g, const QString & file, RS2::FormatType type) = 0;
+ virtual bool fileExport(Drawing & g, const QString & file, RS2::FormatType type) = 0;
protected:
void addImportFormat(RS2::FormatType type);
protected:
//! Pointer to the graphic we currently operate on.
- //RS_Graphic* graphic;
+ //Drawing* graphic;
//! Vector of file extensions this filter can import.
// Q3ValueList<RS2::FormatType> importFormats;