summaryrefslogtreecommitdiffstats
path: root/addon/doxmlparser/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-02-24 18:57:25 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-02-24 18:57:25 (GMT)
commit837e4e86e7d2735cd7106efec6e4512db82d5e7a (patch)
tree81d72027898b1a75221b9ca82b04075277821a9f /addon/doxmlparser/src
parentfa7e820834f7e7648a24accbbaa998092034c80f (diff)
downloadDoxygen-837e4e86e7d2735cd7106efec6e4512db82d5e7a.zip
Doxygen-837e4e86e7d2735cd7106efec6e4512db82d5e7a.tar.gz
Doxygen-837e4e86e7d2735cd7106efec6e4512db82d5e7a.tar.bz2
Release-1.2.14-20020224
Diffstat (limited to 'addon/doxmlparser/src')
-rw-r--r--addon/doxmlparser/src/doxmlintf.h91
1 files changed, 65 insertions, 26 deletions
diff --git a/addon/doxmlparser/src/doxmlintf.h b/addon/doxmlparser/src/doxmlintf.h
index 03a8b3a..067e5fd 100644
--- a/addon/doxmlparser/src/doxmlintf.h
+++ b/addon/doxmlparser/src/doxmlintf.h
@@ -109,28 +109,28 @@ class IDoc
public:
enum Kind
{
- Para, // 0 -> IDocPara
- Text, // 1 -> IDocText
- MarkupModifier, // 2 -> IDocMarkupModifier
- ItemizedList, // 3 -> IDocItemizedList
- OrderedList, // 4 -> IDocOrderedList
- ListItem, // 5 -> IDocListItem
- ParameterList, // 6 -> IDocParameterList
- Parameter, // 7 -> IDocParameter
- SimpleSect, // 8 -> IDocSimpleSect
- Title, // 9 -> IDocTitle
- Ref, // 10 -> IDocRef
- VariableList, // 11 -> IDocVariableList
- VariableListEntry, // 12 -> IDocVariableListEntry
- HRuler, // 13 -> IDocHRuler
- LineBreak, // 14 -> IDocLineBreak
- ULink, // 15 -> IDocULink
- EMail, // 16 -> IDocEMail
- Link, // 17 -> IDocLink
- ProgramListing, // 18 -> IDocProgramListing
- CodeLine, // 19 -> IDocCodeLine
- Highlight, // 20 -> IDocHighlight
- Anchor, // 21 -> IDocAnchor
+ Invalid = 0, // 0
+ Para, // 1 -> IDocPara
+ Text, // 2 -> IDocText
+ MarkupModifier, // 3 -> IDocMarkupModifier
+ ItemizedList, // 4 -> IDocItemizedList
+ OrderedList, // 5 -> IDocOrderedList
+ ListItem, // 6 -> IDocListItem
+ ParameterList, // 7 -> IDocParameterList
+ Parameter, // 8 -> IDocParameter
+ SimpleSect, // 9 -> IDocSimpleSect
+ Title, // 10 -> IDocTitle
+ Ref, // 11 -> IDocRef
+ VariableList, // 12 -> IDocVariableList
+ VariableListEntry, // 13 -> IDocVariableListEntry
+ HRuler, // 14 -> IDocHRuler
+ LineBreak, // 15 -> IDocLineBreak
+ ULink, // 16 -> IDocULink
+ EMail, // 17 -> IDocEMail
+ Link, // 18 -> IDocLink
+ ProgramListing, // 19 -> IDocProgramListing
+ CodeLine, // 20 -> IDocCodeLine
+ Highlight, // 21 -> IDocHighlight
Formula, // 22 -> IDocFormula
Image, // 23 -> IDocImage
DotFile, // 24 -> IDocDotFile
@@ -270,58 +270,97 @@ class IDocLineBreak : public IDoc
class IDocULink : public IDoc
{
+ public:
+ virtual QString url() = 0;
+ virtual QString text() = 0;
};
class IDocEMail : public IDoc
{
+ public:
+ virtual QString address() = 0;
};
class IDocLink : public IDoc
{
+ public:
+ virtual QString refId() = 0;
+ virtual QString text() = 0;
};
class IDocProgramListing : public IDoc
{
+ public:
+ virtual IDocIterator *codeLines() = 0;
};
class IDocCodeLine : public IDoc
{
+ public:
+ virtual int lineNumber() = 0;
+ virtual QString refId() = 0;
+ virtual IDocIterator *codeElements() = 0;
};
class IDocHighlight : public IDoc
{
-};
-
-class IDocAnchor : public IDoc
-{
+ public:
+ enum HighlightKind
+ { Invalid=0,
+ Comment, Keyword,
+ KeywordType, KeywordFlow, CharLiteral,
+ StringLiteral, Preprocessor
+ };
+ virtual HighlightKind highlightKind() = 0;
+ virtual IDocIterator *codeElements() = 0;
};
class IDocFormula : public IDoc
{
+ public:
+ virtual QString id() = 0;
+ virtual QString text() = 0;
};
class IDocImage : public IDoc
{
+ public:
+ virtual QString name() = 0;
+ virtual QString caption() = 0;
};
class IDocDotFile : public IDoc
{
+ public:
+ virtual QString name() = 0;
+ virtual QString caption() = 0;
};
class IDocIndexEntry : public IDoc
{
+ public:
+ virtual QString primary() = 0;
+ virtual QString secondary() = 0;
};
class IDocTable : public IDoc
{
+ public:
+ virtual IDocIterator *rows() = 0;
+ virtual int numColumns() = 0;
+ virtual QString caption() = 0;
};
class IDocRow : public IDoc
{
+ public:
+ virtual IDocIterator *entries() = 0;
};
class IDocEntry : public IDoc
{
+ public:
+ virtual IDocIterator *contents() = 0;
};
class IDocSection : public IDoc