diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 1999-12-15 19:26:45 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 1999-12-15 19:26:45 (GMT) |
commit | e04496cb647291b94c0b27b8babb127a79803579 (patch) | |
tree | bec2e27efcff1ecb747c25b00bb9fea1e068d151 /src/definition.h | |
parent | 322885a8700a209812bf5a94205260c9bef6ac1f (diff) | |
download | Doxygen-e04496cb647291b94c0b27b8babb127a79803579.zip Doxygen-e04496cb647291b94c0b27b8babb127a79803579.tar.gz Doxygen-e04496cb647291b94c0b27b8babb127a79803579.tar.bz2 |
mods for doxygen-0.49-990522
Diffstat (limited to 'src/definition.h')
-rw-r--r-- | src/definition.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/definition.h b/src/definition.h index 2dbee89..48301bc 100644 --- a/src/definition.h +++ b/src/definition.h @@ -18,19 +18,22 @@ #define DEFINITION_H #include <qstring.h> +#include <qlist.h> #include "config.h" +#include "section.h" /*! The common base class of all definitions. */ class Definition { public: //! create a new definition - Definition(const char *name,const char *b=0,const char *d=0) - { n=name; brief=b; doc=d; } + Definition(const char *name,const char *b=0,const char *d=0); //! destroys the definition - virtual ~Definition() {} + virtual ~Definition(); //! returns the name of the definition QString name() const { return n; } + //! returns the base name of the output file that contains this definition. + virtual QString getOutputFileBase() const = 0; //! returns the detailed description of this definition QString documentation() const { return doc; } //! returns the brief description of this definition @@ -55,10 +58,13 @@ class Definition { return !doc.isNull() || !brief.isNull() || extractAllFlag; } QString nameToFile(const char *name); + void addSectionsToDefinition(QList<QString> *anchorList); + private: QString n; // name of the definition QString brief; // brief description QString doc; // detailed description + SectionList *sectionList; // list of all sections }; #endif |