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.
ICE-Application/src/add-ons/ConfigFS/ConfigFs.h@1:b2e90cda7a5a, 2017-01-24 (annotated)
- Committer:
- jmarkel44
- Date:
- Tue Jan 24 19:06:45 2017 +0000
- Revision:
- 1:b2e90cda7a5a
- Parent:
- 0:61364762ee0e
Port from IAR F412 project
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jmarkel44 | 0:61364762ee0e | 1 | #ifndef CONFIGFS_H |
jmarkel44 | 0:61364762ee0e | 2 | #define CONFIGFS_H |
jmarkel44 | 0:61364762ee0e | 3 | |
jmarkel44 | 0:61364762ee0e | 4 | #include <vector> |
jmarkel44 | 0:61364762ee0e | 5 | #include <map> |
jmarkel44 | 0:61364762ee0e | 6 | #include <string> |
jmarkel44 | 0:61364762ee0e | 7 | |
jmarkel44 | 0:61364762ee0e | 8 | class ConfigFs |
jmarkel44 | 0:61364762ee0e | 9 | { |
jmarkel44 | 0:61364762ee0e | 10 | public: |
jmarkel44 | 0:61364762ee0e | 11 | bool saveUserFile(const char *FileName, void *file_buf, int file_size); |
jmarkel44 | 0:61364762ee0e | 12 | bool readUserFile(const char *FileName, void *file_buf, int file_size); |
jmarkel44 | 0:61364762ee0e | 13 | bool deleteUserFile(const char *filename); |
jmarkel44 | 0:61364762ee0e | 14 | std::vector<std::string> listUserFiles(); |
jmarkel44 | 0:61364762ee0e | 15 | }; |
jmarkel44 | 0:61364762ee0e | 16 | |
jmarkel44 | 0:61364762ee0e | 17 | #endif |