X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ffileio.h;h=8aa7511f26366df767fa648a3db159733de428a6;hb=e78daf62eb771ee29a59035d16cf63c1e6ebe144;hp=a30ad48c6955e7423e8185c1fd9364a3dcb24f5b;hpb=eb0057e8a8145032152e4c417fcd102ef5a21484;p=architektonas diff --git a/src/fileio.h b/src/fileio.h index a30ad48..8aa7511 100644 --- a/src/fileio.h +++ b/src/fileio.h @@ -2,9 +2,7 @@ #define __FILEIO_H__ #include - -class Container; -class Object; +#include "structs.h" // 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. @@ -16,7 +14,13 @@ class FileIO static bool LoadAtnsFile(FILE *, Container *); private: - static bool GetObjectFromFile(FILE *, Object *, Object **, int *); + static bool LoadVersion1_0(FILE *, Container *); + static bool LoadVersion1_1(FILE *, Container *); +// static bool GetObjectFromFile(FILE *, Object *, Object **, int *); + static Object * GetObjectFromFile(FILE *, bool extended = false); + static bool WriteObjectToFile(FILE *, Object *); + + static int objectFileType; }; #endif // __FILEIO_H__