summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-02-12 20:39:00 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-02-12 20:39:00 (GMT)
commita9b8e48237d4094095b91031ac7c9fb0f4cc028e (patch)
tree498c4173ac1530bb0ab661a222ddc2906f564944 /src/classdef.cpp
parent3ced61065d252f4f8a3cf5f310f30094d91ac83c (diff)
downloadDoxygen-a9b8e48237d4094095b91031ac7c9fb0f4cc028e.zip
Doxygen-a9b8e48237d4094095b91031ac7c9fb0f4cc028e.tar.gz
Doxygen-a9b8e48237d4094095b91031ac7c9fb0f4cc028e.tar.bz2
Release-1.3.6
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp7
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";