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:46
Directory stream class.
Definition: DirectoryTemplate.h:43
Directory & dir()
Definition: DirectoryTemplate.h:57
Wrapper class for enumerating a directory.
Definition: Directory.h:32
Read-only stream access to directory listing with HTML output.
Definition: HtmlDirectoryTemplate.h:25
String getValue(const char *name) override
Fetch a templated value.
HtmlDirectoryTemplate(IDataSourceStream *source, Directory *dir)
Definition: HtmlDirectoryTemplate.h:27
void setFormatter(Formatter &formatter)
Associate a text format with this template stream.
Definition: SectionTemplate.h:117
The String class.
Definition: WString.h:137
Html html
Definition: DirectoryTemplate.h:37