summaryrefslogtreecommitdiff
path: root/src/vhdldocgen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdldocgen.h')
-rw-r--r--src/vhdldocgen.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/vhdldocgen.h b/src/vhdldocgen.h
index abc47f1..e88e2e5 100644
--- a/src/vhdldocgen.h
+++ b/src/vhdldocgen.h
@@ -30,6 +30,7 @@ class Entry;
class ClassDef;
class MemberList;
class MemberDef;
+class ModuleDef;
class MemberDefMutable;
class OutputList;
class Definition;
@@ -80,10 +81,10 @@ class VhdlDocGen
{
switch (prot)
{
- case Public: return ENTITYCLASS;
- case Protected: return PACKBODYCLASS;
- case Private: return ARCHITECTURECLASS;
- case Package: return PACKAGECLASS;
+ case Protection::Public: return ENTITYCLASS;
+ case Protection::Protected: return PACKBODYCLASS;
+ case Protection::Private: return ARCHITECTURECLASS;
+ case Protection::Package: return PACKAGECLASS;
}
return ENTITYCLASS;
}
@@ -122,7 +123,7 @@ class VhdlDocGen
VhdlDocGen();
virtual ~VhdlDocGen();
static void init();
- static QCString convertFileNameToClassName(QCString name);
+ static QCString convertFileNameToClassName(const QCString &name);
// --- used by vhdlscanner.l -----------
static bool isSubClass(ClassDef* cd,ClassDef *scd, bool followInstances,int level);
@@ -197,18 +198,18 @@ class VhdlDocGen
static bool writeVHDLTypeDocumentation(const MemberDef* mdef, const Definition* d, OutputList &ol);
- static void writeVhdlDeclarations(const MemberList*,OutputList&,const GroupDef*,const ClassDef*,const FileDef*,const NamespaceDef*);
+ static void writeVhdlDeclarations(const MemberList*,OutputList&,const GroupDef*,const ClassDef*,const FileDef*,const NamespaceDef*,const ModuleDef *);
static void writeVHDLDeclaration(const MemberDefMutable* mdef,OutputList &ol,
- const ClassDef *cd,const NamespaceDef *nd,const FileDef *fd,const GroupDef *gd,
+ const ClassDef *cd,const NamespaceDef *nd,const FileDef *fd,const GroupDef *gd,const ModuleDef *mod,
bool inGroup);
static void writePlainVHDLDeclarations(const MemberList* ml,OutputList &ol,
- const ClassDef *cd,const NamespaceDef *nd,const FileDef *fd,const GroupDef *gd,
+ const ClassDef *cd,const NamespaceDef *nd,const FileDef *fd,const GroupDef *gd,const ModuleDef *mod,
uint64_t specifier);
static void writeVHDLDeclarations(const MemberList* ml,OutputList &ol,
- const ClassDef *cd,const NamespaceDef *nd,const FileDef *fd,const GroupDef *gd,
+ const ClassDef *cd,const NamespaceDef *nd,const FileDef *fd,const GroupDef *gd,const ModuleDef *mod,
const QCString &title,const QCString &subtitle,bool showEnumValues,int type);
static bool writeClassType(const ClassDef *,OutputList &ol ,QCString & cname);