A terminal style view onto the filesystem, with the concept of current working directory. File systems can be mounted to root using libraries such as LocalFileSystem and SDFileSystem. Initial version only allows changing the current working directory and retrieving a directory listing. Required libraries: <<library /users/Phlaphead/libraries/Util/latest>> library.
File.cpp@0:63761ecf509c, 2011-06-19 (annotated)
- Committer:
- Phlaphead
- Date:
- Sun Jun 19 13:35:48 2011 +0000
- Revision:
- 0:63761ecf509c
Initial revision. Incomplete version, allows manipulation of working directory and listing files only.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Phlaphead | 0:63761ecf509c | 1 | |
Phlaphead | 0:63761ecf509c | 2 | #include "File.h" |
Phlaphead | 0:63761ecf509c | 3 | |
Phlaphead | 0:63761ecf509c | 4 | File::File(string& name, FileType type) |
Phlaphead | 0:63761ecf509c | 5 | { |
Phlaphead | 0:63761ecf509c | 6 | m_name = name; |
Phlaphead | 0:63761ecf509c | 7 | m_type = type; |
Phlaphead | 0:63761ecf509c | 8 | } |