]> Shamusworld >> Repos - architektonas/blobdiff - src/fileio.cpp
Added Architektonas drawing file loading/saving infrastructure.
[architektonas] / src / fileio.cpp
diff --git a/src/fileio.cpp b/src/fileio.cpp
new file mode 100644 (file)
index 0000000..7cd6816
--- /dev/null
@@ -0,0 +1,39 @@
+//
+// fileio.cpp: Architektonas file save/load support
+//
+// Part of the Architektonas Project
+// (C) 2013 Underground Software
+// See the README and GPLv3 files for licensing and warranty information
+//
+// JLH = James Hammons <jlhamm@acm.org>
+//
+// Who  When        What
+// ---  ----------  -------------------------------------------------------------
+// JLH  02/20/2013  Created this file
+//
+
+#include "fileio.h"
+
+//#include <stdio.h>
+#include <stdlib.h>
+#include "container.h"
+
+
+/*static*/ bool FileIO::SaveAtnsFile(FILE * file, Container * object)
+{
+//     QString filename2 = QFileDialog::getSaveFileName(NULL, tr("Save Drawing"),
+//             "", tr("Architektonas files (*.drawing)"));
+
+       return false;
+}
+
+
+/*static*/ bool FileIO::LoadAtnsFile(FILE * file, Container * object)
+{
+//     QString filename2 = QFileDialog::getOpenFileName(NULL, tr("Open Drawing"),
+//             "", tr("Architektonas files (*.drawing)"));
+
+       return false;
+}
+
+