]> Shamusworld >> Repos - architektonas/blobdiff - src/fileio.h
Initial work on bringing sanity to insane codebase.
[architektonas] / src / fileio.h
index 5994e27eba32482fc7e2b2286900e724a48efe2e..d4fc9d585efc2fe776bc08470989a782a1852c6e 100644 (file)
@@ -2,8 +2,9 @@
 #define __FILEIO_H__
 
 #include <stdio.h>
-
-class Container;
+#include "structs.h"
+//class Container;
+//class Object;
 
 // NB: The methods in this class are all static, so there's no need to
 //     instantiate an object of this type to use its functions.
@@ -13,6 +14,9 @@ class FileIO
        public:
                static bool SaveAtnsFile(FILE *, Container *);
                static bool LoadAtnsFile(FILE *, Container *);
+
+       private:
+               static bool GetObjectFromFile(FILE *, Object *, Object **, int *);
 };
 
 #endif // __FILEIO_H__