]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_fileio.cpp
Adding missing implementation.
[architektonas] / src / base / rs_fileio.cpp
index e58d1fbecf4243592ac1a828240974d6bfb658a1..b9b99592313631455ab351fc13272d69566460ab 100644 (file)
@@ -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 <jlhamm@acm.org>
 //
@@ -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());