]> Shamusworld >> Repos - architektonas/blob - src/fileio.h
Initial work on bringing sanity to insane codebase.
[architektonas] / src / fileio.h
1 #ifndef __FILEIO_H__
2 #define __FILEIO_H__
3
4 #include <stdio.h>
5 #include "structs.h"
6 //class Container;
7 //class Object;
8
9 // NB: The methods in this class are all static, so there's no need to
10 //     instantiate an object of this type to use its functions.
11
12 class FileIO
13 {
14         public:
15                 static bool SaveAtnsFile(FILE *, Container *);
16                 static bool LoadAtnsFile(FILE *, Container *);
17
18         private:
19                 static bool GetObjectFromFile(FILE *, Object *, Object **, int *);
20 };
21
22 #endif  // __FILEIO_H__
23