X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Frs_fileio.cpp;h=7703fd7b482b5c0ae31e545e11312cc7a34462e9;hb=5374cdbb127a1bced9a65abeb30b1ef4eb5e35a7;hp=e58d1fbecf4243592ac1a828240974d6bfb658a1;hpb=16ce54abf01ca3032e42a5bb11a4afcf9014dcca;p=architektonas diff --git a/src/base/rs_fileio.cpp b/src/base/rs_fileio.cpp index e58d1fb..7703fd7 100644 --- a/src/base/rs_fileio.cpp +++ b/src/base/rs_fileio.cpp @@ -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());