diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-15 10:45:59 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-15 10:45:59 +0900 |
commit | 046aece77e373b5280b56bf871fa6e974d06e85d (patch) | |
tree | 629c4681a5158d26512b815623754b33165d8d23 /src/definition.h | |
parent | cccf3a7c7888ce7bd7a8f8d48a34c5474ad9feeb (diff) | |
download | doxygen-046aece77e373b5280b56bf871fa6e974d06e85d.tar.gz doxygen-046aece77e373b5280b56bf871fa6e974d06e85d.tar.bz2 doxygen-046aece77e373b5280b56bf871fa6e974d06e85d.zip |
Imported Upstream version 1.8.3upstream/1.8.3
Diffstat (limited to 'src/definition.h')
-rw-r--r-- | src/definition.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/definition.h b/src/definition.h index eeb3104..9d80431 100644 --- a/src/definition.h +++ b/src/definition.h @@ -1,6 +1,6 @@ /****************************************************************************** * - * $Id: definition.h,v 1.21 2001/03/19 19:27:40 root Exp $ + * * * Copyright (C) 1997-2012 by Dimitri van Heesch. * @@ -18,13 +18,11 @@ #ifndef DEFINITION_H #define DEFINITION_H -#include "qtbc.h" #include <qlist.h> #include <qdict.h> -#include <sys/types.h> +#include "types.h" #include "lockingptr.h" -#include "util.h" class FileDef; class OutputList; @@ -37,7 +35,7 @@ struct ListItemInfo; struct SectionInfo; class Definition; class DefinitionImpl; - + /** Data associated with a detailed description. */ struct DocInfo { @@ -364,7 +362,7 @@ class DefinitionList : public QList<Definition>, public DefinitionIntf public: ~DefinitionList() {} DefType definitionType() const { return TypeSymbolList; } - int compareItems(GCI item1,GCI item2) + int compareItems(QCollection::Item item1,QCollection::Item item2) { return stricmp(((Definition *)item1)->name(), ((Definition *)item2)->name() @@ -382,4 +380,12 @@ class DefinitionListIterator : public QListIterator<Definition> ~DefinitionListIterator() {} }; +/** Reads a fragment from file \a fileName starting with line \a startLine + * and ending with line \a endLine. The result is returned as a string + * via \a result. The function returns TRUE if successful and FALSE + * in case of an error. + */ +bool readCodeFragment(const char *fileName, + int &startLine,int &endLine, + QCString &result); #endif |