diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-08-12 16:43:45 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-08-12 16:43:45 +1000 |
commit | 10902154aec652a3fcdf028b2c6ff16743464973 (patch) | |
tree | 2941d4f7ed14450ee5731da2e106f824e3435ee8 /src/gfile/sys_options.h | |
parent | 6ff7d90500bf5939252eb39272558706da1b8f44 (diff) | |
download | uGFX-10902154aec652a3fcdf028b2c6ff16743464973.tar.gz uGFX-10902154aec652a3fcdf028b2c6ff16743464973.tar.bz2 uGFX-10902154aec652a3fcdf028b2c6ff16743464973.zip |
GFILE: restructure files, add File Listing, add C String files
Fix compile error for ChibiOS BaseStreamFile based GFILES'.
Diffstat (limited to 'src/gfile/sys_options.h')
-rw-r--r-- | src/gfile/sys_options.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/gfile/sys_options.h b/src/gfile/sys_options.h index ee52298c..ff1e5d4c 100644 --- a/src/gfile/sys_options.h +++ b/src/gfile/sys_options.h @@ -46,6 +46,7 @@ /** * @brief Include printg, fprintg etc functions * @details Defaults to FALSE + * @pre To get the string sprintg functions you also need to define @p GFILE_NEED_STRINGS */ #ifndef GFILE_NEED_PRINTG #define GFILE_NEED_PRINTG FALSE @@ -53,15 +54,14 @@ /** * @brief Include scang, fscang etc functions * @details Defaults to FALSE + * @pre To get the string sscang functions you also need to define @p GFILE_NEED_STRINGS */ #ifndef GFILE_NEED_SCANG #define GFILE_NEED_SCANG FALSE #endif /** - * @brief Include the string sprintg/sscang functions + * @brief Include the string based file functions * @details Defaults to FALSE - * @pre To get sprintg functions you also need to define @p GFILE_NEED_PRINTG - * @pre To get sscang functions you also need to define @p GFILE_NEED_SCANG */ #ifndef GFILE_NEED_STRINGS #define GFILE_NEED_STRINGS FALSE @@ -146,6 +146,14 @@ #ifndef GFILE_NEED_MEMFS #define GFILE_NEED_MEMFS FALSE #endif + /** + * @brief Include support for file list functions + * @details Defaults to FALSE + * @note Adds support for @p gfileOpenFileList(), @p gfileReadFileList() and @p gfileCloseFileList(). + */ + #ifndef GFILE_NEED_FILELISTS + #define GFILE_NEED_FILELISTS FALSE + #endif /** * @} * |