comparison src/docgen/moduledoc/htmlwriter.d @ 806:bcb74c9b895c

Moved out files in the trunk folder to the root.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Sun, 09 Mar 2008 00:12:19 +0100
parents trunk/src/docgen/moduledoc/htmlwriter.d@381044a3feac
children
comparison
equal deleted inserted replaced
805:a3fab8b74a7d 806:bcb74c9b895c
1 /**
2 * Author: Jari-Matti Mäkelä
3 * License: GPL3
4 */
5 module docgen.moduledoc.htmlwriter;
6
7 import docgen.moduledoc.writer;
8 import docgen.misc.textutils;
9
10
11 /**
12 * TODO
13 */
14 class HTMLWriter : AbstractWriter!(ModuleDocWriterFactory), ModuleDocWriter {
15 PageWriter writer;
16
17 this(ModuleDocWriterFactory factory, PageWriter writer) {
18 super(factory);
19 this.writer = writer;
20 }
21
22 void generateModuleDoc(Module mod, OutputStream output) {
23
24 /*
25 auto inputStream = cast(FileInput)input;
26 auto content = new char[inputStream.length];
27 auto bytesRead = inputStream.read (content);
28
29 assert(bytesRead == inputStream.length, "Error reading source file");
30 assert(output == null);
31
32 writer.addListing(
33 moduleName,
34 xml_escape(content)
35 );*/
36 }
37 }
38