X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Frs_fileio.cpp;h=b9b99592313631455ab351fc13272d69566460ab;hb=20cce16e98fc9b052c5862efa6394a285971e846;hp=e58d1fbecf4243592ac1a828240974d6bfb658a1;hpb=16ce54abf01ca3032e42a5bb11a4afcf9014dcca;p=architektonas diff --git a/src/base/rs_fileio.cpp b/src/base/rs_fileio.cpp index e58d1fb..b9b9959 100644 --- a/src/base/rs_fileio.cpp +++ b/src/base/rs_fileio.cpp @@ -3,7 +3,9 @@ // Part of the Architektonas Project // Originally part of QCad Community Edition by Andrew Mustun // Extensively rewritten and refactored by James L. Hammons -// (C) 2010 Underground Software +// Portions copyright (C) 2001-2003 RibbonSoft +// Copyright (C) 2010 Underground Software +// See the README and GPLv2 files for licensing and warranty information // // JLH = James L. Hammons // @@ -17,6 +19,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 +94,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 +148,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());