]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_fileio.cpp
Added missing readme and GPL license file.
[architektonas] / src / base / rs_fileio.cpp
index e58d1fbecf4243592ac1a828240974d6bfb658a1..7703fd7b482b5c0ae31e545e11312cc7a34462e9 100644 (file)
@@ -17,6 +17,7 @@
 #include "rs_filtercxf.h"
 #include "rs_filterdxf.h"
 #include "rs_filterdxf1.h"
+#include "rs_filterinterface.h"
 
 RS_FileIO * RS_FileIO::uniqueInstance = NULL;
 
@@ -91,11 +92,11 @@ RS_FilterInterface * RS_FileIO::getExportFilter(RS2::FormatType t)
  * of the given file.
  *
  * @param graphic The container to which we will add
- *        entities. Usually that's an RS_Graphic entity but
+ *        entities. Usually that's an Drawing entity but
  *        it can also be a polyline, text, ...
  * @param file Path and name of the file to import.
  */
-bool RS_FileIO::fileImport(RS_Graphic & graphic, const QString & file, RS2::FormatType type)
+bool RS_FileIO::fileImport(Drawing & graphic, const QString & file, RS2::FormatType type)
 {
        RS_DEBUG->print("Trying to import file '%s'...", file.toLatin1().data());
 
@@ -145,7 +146,7 @@ bool RS_FileIO::fileImport(RS_Graphic & graphic, const QString & file, RS2::Form
  *
  * @param file Path and name of the file to import.
  */
-bool RS_FileIO::fileExport(RS_Graphic & graphic, const QString & file, RS2::FormatType type)
+bool RS_FileIO::fileExport(Drawing & graphic, const QString & file, RS2::FormatType type)
 {
        RS_DEBUG->print("RS_FileIO::fileExport");
        //RS_DEBUG->print("Trying to export file '%s'...", file.latin1());