Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of libMiMic by
cpp/ModLocalFileSystem.h@7:2b33a8d84eb3, 2013-04-09 (annotated)
- Committer:
- nyatla
- Date:
- Tue Apr 09 09:32:25 2013 +0000
- Revision:
- 7:2b33a8d84eb3
- Child:
- 8:b9ed86e156dd
add local filesysytem module.; change path rule of module initialization.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| nyatla | 7:2b33a8d84eb3 | 1 | #pragma once |
| nyatla | 7:2b33a8d84eb3 | 2 | //////////////////////////////////////////////////////////////////////////////// |
| nyatla | 7:2b33a8d84eb3 | 3 | // ModRomFiles.h |
| nyatla | 7:2b33a8d84eb3 | 4 | //////////////////////////////////////////////////////////////////////////////// |
| nyatla | 7:2b33a8d84eb3 | 5 | |
| nyatla | 7:2b33a8d84eb3 | 6 | #include "NyLPC_net.h" |
| nyatla | 7:2b33a8d84eb3 | 7 | #include "ModBaseClass.h" |
| nyatla | 7:2b33a8d84eb3 | 8 | |
| nyatla | 7:2b33a8d84eb3 | 9 | |
| nyatla | 7:2b33a8d84eb3 | 10 | namespace MiMic |
| nyatla | 7:2b33a8d84eb3 | 11 | { |
| nyatla | 7:2b33a8d84eb3 | 12 | class HttpdConnection; |
| nyatla | 7:2b33a8d84eb3 | 13 | |
| nyatla | 7:2b33a8d84eb3 | 14 | /** |
| nyatla | 7:2b33a8d84eb3 | 15 | * This class is httpd module. |
| nyatla | 7:2b33a8d84eb3 | 16 | * The class provide files on mbed LocalFile System. |
| nyatla | 7:2b33a8d84eb3 | 17 | */ |
| nyatla | 7:2b33a8d84eb3 | 18 | class ModLocalFileSystem:ModBaseClass |
| nyatla | 7:2b33a8d84eb3 | 19 | { |
| nyatla | 7:2b33a8d84eb3 | 20 | public: |
| nyatla | 7:2b33a8d84eb3 | 21 | |
| nyatla | 7:2b33a8d84eb3 | 22 | ModLocalFileSystem(const char* i_path); |
| nyatla | 7:2b33a8d84eb3 | 23 | ModLocalFileSystem(); |
| nyatla | 7:2b33a8d84eb3 | 24 | virtual ~ModLocalFileSystem(); |
| nyatla | 7:2b33a8d84eb3 | 25 | void setParam(const char* i_path); |
| nyatla | 7:2b33a8d84eb3 | 26 | bool execute(HttpdConnection& i_connection); |
| nyatla | 7:2b33a8d84eb3 | 27 | }; |
| nyatla | 7:2b33a8d84eb3 | 28 | |
| nyatla | 7:2b33a8d84eb3 | 29 | } |
