summaryrefslogtreecommitdiffstats
path: root/doc/starting.doc
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-05-14 18:44:15 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-05-14 18:44:15 (GMT)
commit8013b5fe71402e6c6bfd867e348b6cad73bd7386 (patch)
treeaca56008d3ed43483f7f8f2f4fb55a3b4e5f75f2 /doc/starting.doc
parent6c268019f8ce8b58058e7f7f8204c82b8d0ac190 (diff)
downloadDoxygen-8013b5fe71402e6c6bfd867e348b6cad73bd7386.zip
Doxygen-8013b5fe71402e6c6bfd867e348b6cad73bd7386.tar.gz
Doxygen-8013b5fe71402e6c6bfd867e348b6cad73bd7386.tar.bz2
Release-1.1.3-20000514
Diffstat (limited to 'doc/starting.doc')
-rw-r--r--doc/starting.doc20
1 files changed, 19 insertions, 1 deletions
diff --git a/doc/starting.doc b/doc/starting.doc
index c9e4dfb..cd52250 100644
--- a/doc/starting.doc
+++ b/doc/starting.doc
@@ -742,7 +742,7 @@ Then by default doxygen will feed the following to its parser:
You can disable all preprocessing by setting
\ref cfg_enable_preprocessing "ENABLE_PREPROCESSING" to \c
-NO in the configuation file. In the case above doxygen will then read
+NO in the configuation file. In the case above doxygen will then reads
both statements!
In case you want to expand the \c CONST_STRING macro, you should set the
@@ -847,6 +847,24 @@ for class QList is to define:
PREDEFINED = QListT:=QList
\endverbatim
+Here is example provided by Valter Minute that helps doxygen to
+wade through the boilerplate code in Microsoft's ATL library:
+
+\verbatim
+PREDEFINED = DECLARE_REGISTRY_RESOURCEID=// \
+ DECLARE_PROTECT_FINAL_CONSTRUCT=// \
+ BEGIN_COM_MAP=/* \
+ END_COM_MAP=*/// \
+ BEGIN_PROP_MAP=/* \
+ END_PROP_MAP=*/// \
+ BEGIN_MSG_MAP=/* \
+ END_MSG_MAP=*/// \
+ DECLARE_VIEW_STATUS=// \
+ "STDMETHOD(a)=HRESULT a" \
+ "ATL_NO_VTABLE= "\
+ "__declspec(a)= "\
+\endverbatim
+
As you can see doxygen's preprocessor is quite powerful, but if you want
even more flexibility you can always write an input filter and specify it
after the \ref cfg_input_filter "INPUT_FILTER" tag.