]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_filterinterface.h
In the middle of major refactoring...
[architektonas] / src / base / rs_filterinterface.h
index 3cec6366a900d93f4ed7ad427519e3dca4cea7bd..730203bce5a3b4682a336184d91dfac69ffee864 100644 (file)
@@ -2,7 +2,7 @@
 #define RS_FILTERINTERFACE_H
 
 #include <QtCore>
-#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<RS2::FormatType> importFormats;