diff options
Diffstat (limited to 'src/definition.h')
-rw-r--r-- | src/definition.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/definition.h b/src/definition.h index 46b81a0..38a11b2 100644 --- a/src/definition.h +++ b/src/definition.h @@ -24,6 +24,7 @@ #include <sys/types.h> #include "lockingptr.h" +#include "util.h" class FileDef; class OutputList; @@ -240,6 +241,9 @@ class Definition : public DefinitionIntf, public LockableObj */ FileDef *getBodyDef(); + /** Returns the programming language this definition was written in. */ + SrcLangExt getLanguage() const; + LockingPtr<GroupList> partOfGroups() const; LockingPtr< QList<ListItemInfo> > xrefListItems() const; @@ -250,6 +254,7 @@ class Definition : public DefinitionIntf, public LockableObj LockingPtr<MemberSDict> getReferencesMembers() const; LockingPtr<MemberSDict> getReferencedByMembers() const; + //----------------------------------------------------------------------------------- // ---- setters ----- //----------------------------------------------------------------------------------- @@ -293,6 +298,7 @@ class Definition : public DefinitionIntf, public LockableObj virtual void setHidden(bool b); void setArtificial(bool b); + void setLanguage(SrcLangExt lang); //----------------------------------------------------------------------------------- // --- actions ---- |