office-gobmx/include/vcl/doxygen_dummy.hxx
Chris Sherlock a669faa1fa vcl: allow doxygen to see boost::intrusive_ptr
We are using boost::intrusive_ptr for a number of classes,
unfortunately by default we cannot see this in the Doxygen
collaboration diagrams.

However, we can work around this problem by making a dummy
namespace which we include in a header that is scanned by
Doxygen, but never included in LibreOffice. To be sure of this,
however, I have put #ifdef DOXYGEN_ONLY guards around the file
and defined this in the Doxygen config file.

Change-Id: I18d6956518a49e6006b64e2147023ec8266c8f5c
2016-01-15 06:26:41 +11:00

8 lines
270 B
C++

// Do NOT include this file anywhere! This is merely used to make Doxygen see
// boost intrusive_ptr's - otherwise it doesn't build the collaboration diagram
// correctly
#ifdef DOXYGENONLY
namespace boost { template<class T> class intrusive_ptr { T *ptr; }; }
#endif