Version light
Diff: ConfigFile.h
- Revision:
- 2:d8febae84a45
- Parent:
- 1:f02e081afe42
- Child:
- 3:7250e339328c
--- a/ConfigFile.h Sun Sep 12 07:22:00 2010 +0000 +++ b/ConfigFile.h Sun Sep 12 07:35:25 2010 +0000 @@ -62,12 +62,19 @@ */ bool read(char *file); + typedef enum { + UNIX, + MAC, + DOS + } FileFormat; + /** * Write from the target file. * * @param file A target file name. + * @param ff File format. */ - bool write(char *file); + bool write(char *file, FileFormat ff = UNIX); /** * Output for debugging.