diff options
Diffstat (limited to 'src/conceptdef.h')
-rw-r--r-- | src/conceptdef.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/conceptdef.h b/src/conceptdef.h index 9a2075c..82f097f 100644 --- a/src/conceptdef.h +++ b/src/conceptdef.h @@ -79,4 +79,14 @@ const ConceptDef *toConceptDef(const Definition *d); ConceptDefMutable *toConceptDefMutable(Definition *d); ConceptDefMutable *toConceptDefMutable(const Definition *d); +// --- Helpers + +ConceptDef *getConcept(const QCString &key); +inline ConceptDefMutable *getConceptMutable(const QCString &key) +{ + return toConceptDefMutable(getConcept(key)); +} +ConceptDef *getResolvedConcept(const Definition *scope,const QCString &name); + + #endif |