Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ConfigFile by
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.