diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-01-04 15:11:03 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-01-04 15:11:03 +0000 |
commit | 6f470322d0241e1923bd1d83d66f291aff571658 (patch) | |
tree | 7841acf3bdcc48add6bea4f23a7aef794e3e9531 /os/fs/fs.hpp | |
parent | 2fa014a7be21c7d893fbbb2101c97c51971321b9 (diff) | |
download | ChibiOS-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.hpp | 14 |
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_ */
|