]> Shamusworld >> Repos - architektonas/blobdiff - src/base/fileio.h
Major refactor of Architektonas: Jettisoning old cruft.
[architektonas] / src / base / fileio.h
diff --git a/src/base/fileio.h b/src/base/fileio.h
deleted file mode 100644 (file)
index 97b0f5a..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#ifndef __FILEIO_H__
-#define __FILEIO_H__
-
-#include <QtCore>
-#include "enums.h"
-
-#define FILEIO FileIO::instance()
-
-class Drawing;
-class FilterInterface;
-
-/**
- * API Class for importing files.
- *
- * @author James Hammons
- * @author Andrew Mustun
- */
-class FileIO
-{
-       protected:
-               FileIO();
-
-       public:
-               static FileIO * instance();
-               void registerFilter(FilterInterface * f);
-               QList<FilterInterface *> getFilterList();
-               FilterInterface * getImportFilter(RS2::FormatType t);
-               FilterInterface * getExportFilter(RS2::FormatType t);
-               bool fileImport(Drawing & dwg, const QString & file,
-                       RS2::FormatType type = RS2::FormatUnknown);
-               bool fileExport(Drawing & dwg, const QString & file,
-                       RS2::FormatType type = RS2::FormatUnknown);
-               RS2::FormatType detectFormat(const QString & file);
-
-       protected:
-               static FileIO * uniqueInstance;
-               QList<FilterInterface *> filterList;
-};
-
-#endif // __FILEIO_H__