Mercurial > projects > dil
diff trunk/src/docgen/sourcelisting/xmlwriter.d @ 451:3f44c38bf870
Page templates, more flexible writer interfaces, small fixes.
author | Jari-Matti M?kel? <jmjm@iki.fi> |
---|---|
date | Wed, 24 Oct 2007 17:25:52 +0300 |
parents | 757bd048482c |
children | 4e5b35df3060 |
line wrap: on
line diff
--- a/trunk/src/docgen/sourcelisting/xmlwriter.d Wed Oct 17 20:55:55 2007 +0200 +++ b/trunk/src/docgen/sourcelisting/xmlwriter.d Wed Oct 24 17:25:52 2007 +0300 @@ -14,11 +14,14 @@ /** * TODO */ -class XMLWriter : AbstractWriter!(ListingWriterFactory, 2), ListingWriter { - this(ListingWriterFactory factory, OutputStream[] outputs) { - super(factory, outputs); +class XMLWriter : AbstractWriter!(ListingWriterFactory), ListingWriter { + DocumentWriter writer; + + this(ListingWriterFactory factory, DocumentWriter writer) { + super(factory); + this.writer = writer; } void generateListing(Parser parser) { /* TODO */ } - void generateListing(InputStream input, char[] moduleName) { /* TODO */ } + void generateListing(InputStream input, OutputStream output, char[] moduleName) { /* TODO */ } } \ No newline at end of file