X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Frs_filterinterface.h;h=730203bce5a3b4682a336184d91dfac69ffee864;hb=d774c2655ba2c3657a565f325411144452392277;hp=3cec6366a900d93f4ed7ad427519e3dca4cea7bd;hpb=16ce54abf01ca3032e42a5bb11a4afcf9014dcca;p=architektonas diff --git a/src/base/rs_filterinterface.h b/src/base/rs_filterinterface.h index 3cec636..730203b 100644 --- a/src/base/rs_filterinterface.h +++ b/src/base/rs_filterinterface.h @@ -2,7 +2,7 @@ #define RS_FILTERINTERFACE_H #include -#include "rs_graphic.h" +#include "drawing.h" /** * This is the interface that must be implemented for all @@ -29,14 +29,14 @@ class RS_FilterInterface * 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); @@ -44,7 +44,7 @@ class RS_FilterInterface protected: //! Pointer to the graphic we currently operate on. - //RS_Graphic* graphic; + //Drawing* graphic; //! Vector of file extensions this filter can import. // Q3ValueList importFormats;