aboutsummaryrefslogtreecommitdiffstats
path: root/src/gfile/sys_options.h
diff options
context:
space:
mode:
authorpashamray <pashamray@gmail.com>2014-07-02 13:02:01 +0300
committerpashamray <pashamray@gmail.com>2014-07-02 13:02:01 +0300
commite67fbb3e6b82742eae4096faff2a1e47e25804e3 (patch)
tree35df6e920e377ac05ba37c9479de47e8522cee75 /src/gfile/sys_options.h
parent2127c61eeeea920ba79923bc6f29a1e2de80d61d (diff)
parent2b141cea7f30cb45f559db5949dcfbf0ebb7c613 (diff)
downloaduGFX-e67fbb3e6b82742eae4096faff2a1e47e25804e3.tar.gz
uGFX-e67fbb3e6b82742eae4096faff2a1e47e25804e3.tar.bz2
uGFX-e67fbb3e6b82742eae4096faff2a1e47e25804e3.zip
Tectu/ugfx слито с master
Diffstat (limited to 'src/gfile/sys_options.h')
-rw-r--r--src/gfile/sys_options.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/gfile/sys_options.h b/src/gfile/sys_options.h
index 564cc2d7..ee52298c 100644
--- a/src/gfile/sys_options.h
+++ b/src/gfile/sys_options.h
@@ -21,6 +21,29 @@
* @{
*/
/**
+ * @brief Should the filesystem not be mounted automatically
+ * @details The filesystem is normally mounted automatically if the
+ * user does not do it manually. This option turns that off
+ * so the user must manually mount the file-system first.
+ * @details Defaults to FALSE
+ */
+ #ifndef GFILE_NEED_NOAUTOMOUNT
+ #define GFILE_NEED_NOAUTOMOUNT FALSE
+ #endif
+ /**
+ * @brief Should the filesystem be synced automatically
+ * @details The filesystem will automatically be synced after an open() or
+ * write() call unless this feature is disabled.
+ * @details If this feature is disabled, the user should sync the filesystem
+ * himself using @p gfileSync()
+ * @details Not all filesystems implement the syncing feature. This feature will
+ * have no effect in such a case.
+ * @details Defaults to FALSE
+ */
+ #ifndef GFILE_NEED_NOAUTOSYNC
+ #define GFILE_NEED_NOAUTOSYNC FALSE
+ #endif
+ /**
* @brief Include printg, fprintg etc functions
* @details Defaults to FALSE
*/