summaryrefslogtreecommitdiffstats
path: root/src/definition.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/definition.h')
-rw-r--r--src/definition.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/definition.h b/src/definition.h
index 563fb61..ed447fe 100644
--- a/src/definition.h
+++ b/src/definition.h
@@ -38,6 +38,8 @@ struct SectionInfo;
class Definition;
class DefinitionImpl;
+
+
/** Data associated with a detailed description. */
struct DocInfo
{
@@ -382,4 +384,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