summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/util.h b/src/util.h
index 4ed2041..c98353e 100644
--- a/src/util.h
+++ b/src/util.h
@@ -60,7 +60,7 @@ class Dir;
class TextGeneratorIntf
{
public:
- virtual ~TextGeneratorIntf() {}
+ virtual ~TextGeneratorIntf() = default;
virtual void writeString(const QCString &,bool) const = 0;
virtual void writeBreak(int indent) const = 0;
virtual void writeLink(const QCString &extRef,const QCString &file,
@@ -72,15 +72,14 @@ class TextGeneratorIntf
class TextGeneratorOLImpl : public TextGeneratorIntf
{
public:
- virtual ~TextGeneratorOLImpl() {}
- TextGeneratorOLImpl(OutputDocInterface &od);
+ TextGeneratorOLImpl(BaseOutputDocInterface &od);
void writeString(const QCString &s,bool keepSpaces) const;
void writeBreak(int indent) const;
void writeLink(const QCString &extRef,const QCString &file,
const QCString &anchor,const QCString &text
) const;
private:
- OutputDocInterface &m_od;
+ BaseOutputDocInterface &m_od;
};
//--------------------------------------------------------------------
@@ -137,19 +136,19 @@ bool resolveLink(/* in */ const QCString &scName,
/* out */ QCString &resAnchor
);
-bool generateLink(OutputDocInterface &od,const QCString &,
+bool generateLink(OutputList &ol,const QCString &,
const QCString &,bool inSeeBlock,const QCString &);
-void generateFileRef(OutputDocInterface &od,const QCString &,
+void generateFileRef(OutputList &ol,const QCString &,
const QCString &linkTxt=QCString());
-void writePageRef(OutputDocInterface &od,const QCString &cn,const QCString &mn);
+void writePageRef(OutputList &ol,const QCString &cn,const QCString &mn);
-QCString getCanonicalTemplateSpec(const Definition *d,const FileDef *fs,const QCString& spec);
+//QCString getCanonicalTemplateSpec(const Definition *d,const FileDef *fs,const QCString& spec);
bool matchArguments2(const Definition *srcScope,const FileDef *srcFileScope,const ArgumentList *srcAl,
const Definition *dstScope,const FileDef *dstFileScope,const ArgumentList *dstAl,
- bool checkCV
+ bool checkCV,SrcLangExt lang
);
void mergeArguments(ArgumentList &,ArgumentList &,bool forceNameOverwrite=FALSE);
@@ -379,8 +378,8 @@ struct ColoredImgDataItem
const char *name;
unsigned short width;
unsigned short height;
- unsigned char *content;
- unsigned char *alpha;
+ const unsigned char *content;
+ const unsigned char *alpha;
};
void writeColoredImgData(const QCString &dir,ColoredImgDataItem data[]);