HtmlDirectoryTemplate.h
Go to the documentation of this file.
1 /****
2  * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development.
3  * Created 2015 by Skurydin Alexey
4  * http://github.com/SmingHub/Sming
5  * All files of the Sming Core are provided under the LGPL v3 license.
6  *
7  * HtmlDirectoryTemplate.h
8  *
9  * @author mikee47 <mike@sillyhouse.net> May 2019
10  *
11  ****/
12 
13 #pragma once
14 
15 #include "../../Format.h"
16 #include "DirectoryTemplate.h"
17 
18 namespace IFS
19 {
25 {
26 public:
28  {
30  }
31 
32 protected:
33  String getValue(const char* name) override;
34 };
35 
36 } // namespace IFS
Base class for read-only stream.
Definition: DataSourceStream.h:40
Directory stream class.
Definition: DirectoryTemplate.h:42
void setFormatter(Formatter &formatter)
Definition: SectionTemplate.h:107
HtmlDirectoryTemplate(IDataSourceStream *source, Directory *dir)
Definition: HtmlDirectoryTemplate.h:27
Directory & dir()
Definition: DirectoryTemplate.h:61
The String class.
Definition: WString.h:136
Wrapper class for enumerating a directory.
Definition: Directory.h:31
Definition: DirectoryTemplate.h:36
String getValue(const char *name) override
Fetch a templated value.
Read-only stream access to directory listing with HTML output.
Definition: HtmlDirectoryTemplate.h:24
Html html