summaryrefslogtreecommitdiffstats
path: root/src/rtfdocvisitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtfdocvisitor.h')
-rw-r--r--src/rtfdocvisitor.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/rtfdocvisitor.h b/src/rtfdocvisitor.h
index 9508972..90175e3 100644
--- a/src/rtfdocvisitor.h
+++ b/src/rtfdocvisitor.h
@@ -21,16 +21,17 @@
#include "docvisitor.h"
#include <qstack.h>
+#include <qcstring.h>
class QTextStream;
-class BaseCodeDocInterface;
+class CodeOutputInterface;
class QString;
/*! @brief Concrete visitor implementation for RTF output. */
class RTFDocVisitor : public DocVisitor
{
public:
- RTFDocVisitor(QTextStream &t,BaseCodeDocInterface &ci);
+ RTFDocVisitor(QTextStream &t,CodeOutputInterface &ci,const char *langExt);
//--------------------------------------
// visitor functions for leaf nodes
@@ -149,12 +150,13 @@ class RTFDocVisitor : public DocVisitor
//--------------------------------------
QTextStream &m_t;
- BaseCodeDocInterface &m_ci;
+ CodeOutputInterface &m_ci;
bool m_insidePre;
bool m_hide;
int m_indentLevel;
QStack<bool> m_enabled;
bool m_lastIsPara;
+ QCString m_langExt;
};
#endif