summaryrefslogtreecommitdiffstats
path: root/src/definition.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>1999-12-15 19:42:00 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>1999-12-15 19:42:00 (GMT)
commitdf5aeefd51095ad5b1f5fe1bf563a7302f93feeb (patch)
treee1e96dcb9bbad928271e0546023ea0a9841641b6 /src/definition.h
parentdc2968f7b44b1a219a0695ba80c63cd0d7da0ef1 (diff)
downloadDoxygen-df5aeefd51095ad5b1f5fe1bf563a7302f93feeb.zip
Doxygen-df5aeefd51095ad5b1f5fe1bf563a7302f93feeb.tar.gz
Doxygen-df5aeefd51095ad5b1f5fe1bf563a7302f93feeb.tar.bz2
mods for doxygen-0.49-991205
Diffstat (limited to 'src/definition.h')
-rw-r--r--src/definition.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/definition.h b/src/definition.h
index dac9d79..03c422a 100644
--- a/src/definition.h
+++ b/src/definition.h
@@ -77,15 +77,22 @@ class Definition
*/
void addSectionsToDefinition(QList<QCString> *anchorList);
- void setBodyLine(int bl) { bodyLine=bl; }
+ void setBodySegment(int bls,int ble)
+ {
+ startBodyLine=bls;
+ endBodyLine=ble;
+ }
void setBodyDef(FileDef *fd) { bodyDef=fd; }
- int getBodyLine() const { return bodyLine; }
+ int getStartBodyLine() const { return startBodyLine; }
+ int getEndBodyLine() const { return endBodyLine; }
FileDef *getBodyDef() { return bodyDef; }
- void writeSourceRef(OutputList &ol);
+ void writeSourceRef(OutputList &ol,const char *scopeName);
protected:
- int bodyLine; // line number of the definition
+ int startBodyLine; // line number of the start of the definition
+ int endBodyLine; // line number of the end of the definition
FileDef *bodyDef; // file definition containing the function body
+
private:
QCString n; // name of the definition
QCString brief; // brief description