diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2007-01-07 21:17:16 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2007-01-07 21:17:16 (GMT) |
commit | 0ee700fc0f6a02b75aa5651c23cc3339c1255ebc (patch) | |
tree | e21d038e7bc244d411ee71ee440f3b527bb9402f /src/definition.h | |
parent | be3407fc9ef6e4cf558cce39bb50dd2ab1168934 (diff) | |
download | Doxygen-0ee700fc0f6a02b75aa5651c23cc3339c1255ebc.zip Doxygen-0ee700fc0f6a02b75aa5651c23cc3339c1255ebc.tar.gz Doxygen-0ee700fc0f6a02b75aa5651c23cc3339c1255ebc.tar.bz2 |
Release-1.5.1-20070107
Diffstat (limited to 'src/definition.h')
-rw-r--r-- | src/definition.h | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/src/definition.h b/src/definition.h index f13a8b8..d3723a1 100644 --- a/src/definition.h +++ b/src/definition.h @@ -1,6 +1,6 @@ /****************************************************************************** * - * $Id$ + * * * Copyright (C) 1997-2006 by Dimitri van Heesch. * @@ -37,12 +37,14 @@ struct SectionInfo; class Definition; class DefinitionImpl; +#if 0 struct ReachableDefinition { ReachableDefinition(Definition *d,int dist) : def(d), distance(dist) {} Definition *def; int distance; }; +#endif struct DocInfo { @@ -51,6 +53,14 @@ struct DocInfo QCString file; }; +struct BriefInfo +{ + QCString doc; + QCString tooltip; + int line; + QCString file; +}; + struct BodyInfo { int startLine; // line number of the start of the definition @@ -135,9 +145,14 @@ class Definition : public DefinitionIntf, public LockableObj */ QCString docFile() const; - /*! Returns the brief description of this definition */ + /*! Returns the brief description of this definition. This can include commands. */ QCString briefDescription() const; + /*! Returns a plain text version of the brief description suitable for use + * as a tool tip. + */ + QCString briefDescriptionAsTooltip() const; + /*! Returns the line number at which the brief description was found. */ int briefLine() const; @@ -182,6 +197,7 @@ class Definition : public DefinitionIntf, public LockableObj /*! Returns TRUE iff the name may appear in the output */ virtual bool isVisible() const; + /*! Returns TRUE iff this item is supposed to be hidden from the output. */ bool isHidden() const; /*! If this definition was imported via a tag file, this function @@ -293,6 +309,8 @@ class Definition : public DefinitionIntf, public LockableObj int _getXRefListId(const char *listName) const; void _writeSourceRefList(OutputList &ol,const char *scopeName, const QCString &text,MemberSDict *members,bool); + void _setBriefDescription(const char *b,const char *briefFile,int briefLine); + void _setDocumentation(const char *d,const char *docFile,int docLine,bool stripWhiteSpace); DefinitionImpl *m_impl; // internal structure holding all private data QCString m_name; bool m_isSymbol; |