diff options
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r-- | src/classdef.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp index 9ca6ae8..ff014c9 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -91,6 +91,7 @@ ClassDef::ClassDef( m_artificial = FALSE; m_isAbstract = FALSE; m_isStatic = FALSE; + m_isObjC = FALSE; m_membersMerged = FALSE; QCString ns; extractNamespaceName(m_name,m_className,ns); @@ -997,6 +998,10 @@ void ClassDef::writeDocumentation(OutputList &ol) { ol.docify("import "); } + else if (isObjectiveC()) + { + ol.docify("#import "); + } else { ol.docify("#include "); @@ -2381,6 +2386,8 @@ QCString ClassDef::compoundTypeString() const case Struct: return "struct"; case Union: return "union"; case Interface: return "interface"; + case Protocol: return "protocol"; + case Category: return "category"; case Exception: return "exception"; } return "unknown"; |