summaryrefslogtreecommitdiff
path: root/src/xmlgen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlgen.h')
-rw-r--r--src/xmlgen.h33
1 files changed, 18 insertions, 15 deletions
diff --git a/src/xmlgen.h b/src/xmlgen.h
index 41104f6..7d56f77 100644
--- a/src/xmlgen.h
+++ b/src/xmlgen.h
@@ -17,35 +17,38 @@
class TextStream;
-class XMLCodeGenerator : public CodeOutputInterface
+class XMLCodeGenerator
{
public:
+ XMLCodeGenerator(TextStream *t);
+ ~XMLCodeGenerator();
- XMLCodeGenerator(TextStream &t);
- virtual ~XMLCodeGenerator() { }
+ OutputType type() const { return OutputType::XML; }
- void codify(const QCString &text) override;
+ void codify(const QCString &text);
void writeCodeLink(CodeSymbolType type,
const QCString &ref,const QCString &file,
const QCString &anchor,const QCString &name,
- const QCString &tooltip) override;
+ const QCString &tooltip);
void writeTooltip(const QCString &, const DocLinkInfo &, const QCString &,
const QCString &, const SourceLinkInfo &, const SourceLinkInfo &
- ) override;
- void startCodeLine(bool) override;
- void endCodeLine() override;
- void startFontClass(const QCString &colorClass) override;
- void endFontClass() override;
- void writeCodeAnchor(const QCString &) override;
+ );
+ void startCodeLine(bool);
+ void endCodeLine();
+ void startFontClass(const QCString &colorClass);
+ void endFontClass();
+ void writeCodeAnchor(const QCString &);
void writeLineNumber(const QCString &extRef,const QCString &compId,
- const QCString &anchorId,int l,bool writeLineAnchor) override;
- void startCodeFragment(const QCString &) override;
- void endCodeFragment(const QCString &) override;
+ const QCString &anchorId,int l,bool writeLineAnchor);
+ void startCodeFragment(const QCString &);
+ void endCodeFragment(const QCString &);
+ void startFold(int,const QCString &,const QCString &) {}
+ void endFold() {}
void finish();
private:
- TextStream &m_t;
+ TextStream *m_t;
QCString m_refId;
QCString m_external;
int m_lineNumber;