summaryrefslogtreecommitdiff
path: root/src/Document.h
diff options
context:
space:
mode:
authorRichard Kettlewell <rjk@greenend.org.uk>2011-04-26 13:37:49 +0100
committerRichard Kettlewell <rjk@greenend.org.uk>2011-04-26 13:37:49 +0100
commit12b2a282da13bbdb6c7c63c8b64ec3a75dea5555 (patch)
tree1796e96a94fdd7d72ff7083d5ee9859060b52beb /src/Document.h
parent5f8399ca7c6e3be0ad22aa379705d97c53c21686 (diff)
Include prune logs in report
Diffstat (limited to 'src/Document.h')
-rw-r--r--src/Document.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Document.h b/src/Document.h
index 8fc8d4b..d06bd59 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -68,6 +68,12 @@ public:
void renderHtml(std::ostream &os) const;
};
+ // A verbatim section
+ struct Verbatim: public LinearContainer {
+ Verbatim() {}
+ void renderHtml(std::ostream &os) const;
+ };
+
enum ListType {
UnorderedList,
OrderedList
@@ -182,6 +188,12 @@ public:
return p;
}
+ Verbatim *verbatim() {
+ Verbatim *v = new Verbatim();
+ content.append(v);
+ return v;
+ }
+
// Render the document as HTML.
void renderHtml(std::ostream &os) const;