X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Frs_fileio.h;h=fa0e8c3eaa756914ee43614805193a1931a54cd2;hb=bd2b29c8735d83ab48df13c3efee53f63570473e;hp=320463ad04ee29294d3f10caa233f7cf24da070d;hpb=89e127aa3dbd74d3158e6dbe0ca1703420c04395;p=architektonas diff --git a/src/base/rs_fileio.h b/src/base/rs_fileio.h index 320463a..fa0e8c3 100644 --- a/src/base/rs_fileio.h +++ b/src/base/rs_fileio.h @@ -2,11 +2,12 @@ #define RS_FILEIO_H #include -#include "rs_filterinterface.h" +#include "rs.h" #define RS_FILEIO RS_FileIO::instance() class Drawing; +class RS_FilterInterface; /** * API Class for importing files. @@ -21,22 +22,17 @@ class RS_FileIO public: static RS_FileIO * instance(); void registerFilter(RS_FilterInterface * f); -// Q3PtrList getFilterList(); QList getFilterList(); RS_FilterInterface * getImportFilter(RS2::FormatType t); RS_FilterInterface * getExportFilter(RS2::FormatType t); - bool fileImport(Drawing & graphic, const QString & file, RS2::FormatType type = RS2::FormatUnknown); - bool fileExport(Drawing & graphic, const QString & file, RS2::FormatType type = RS2::FormatUnknown); - RS2::FormatType detectFormat(const QString & file); protected: static RS_FileIO * uniqueInstance; -// Q3PtrList filterList; QList filterList; };