aboutsummaryrefslogtreecommitdiffstats
path: root/os/fs/fs.hpp
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-01-04 15:11:03 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-01-04 15:11:03 +0000
commit6f470322d0241e1923bd1d83d66f291aff571658 (patch)
tree7841acf3bdcc48add6bea4f23a7aef794e3e9531 /os/fs/fs.hpp
parent2fa014a7be21c7d893fbbb2101c97c51971321b9 (diff)
downloadChibiOS-6f470322d0241e1923bd1d83d66f291aff571658.tar.gz
ChibiOS-6f470322d0241e1923bd1d83d66f291aff571658.tar.bz2
ChibiOS-6f470322d0241e1923bd1d83d66f291aff571658.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5032 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/fs/fs.hpp')
-rw-r--r--os/fs/fs.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/os/fs/fs.hpp b/os/fs/fs.hpp
index ed4a3e177..55ef664f3 100644
--- a/os/fs/fs.hpp
+++ b/os/fs/fs.hpp
@@ -65,13 +65,6 @@ namespace chibios_fs {
class BaseFileStreamInterface : public chibios_rt::BaseSequentialStreamInterface {
public:
/**
- * @brief File close and object destruction.
- *
- * @api
- */
- virtual ~BaseFileStreamInterface(void) = 0;
-
- /**
* @brief Returns an implementation dependent error code.
*
* @return An implementation-dependent error code.
@@ -191,6 +184,13 @@ namespace chibios_fs {
* @api
*/
virtual BaseFileStreamInterface *create(const char *fname) = 0;
+
+ /**
+ * @brief Closes a file.
+ *
+ * @api
+ */
+ virtual void close(BaseFileStreamInterface *file) = 0;
};
}
#endif /* _FS_HPP_ */