C++: Improved automatic Doxygen comment blocks with CppStyle

Added support for CppStyle for Doxygen block generation when
hitting enter after a /// or //! comment. Previously only
QtStyle and JavaStyle was supported.

Change-Id: Ib010e55ba602127a6842ba02034fbe85994ee2bd
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
Knut Petter Svendsen
2013-02-21 05:45:44 +01:00
committed by David Schulz
parent 8d2f406092
commit c937226db1
7 changed files with 360 additions and 64 deletions

View File

@@ -49,8 +49,10 @@ public:
DoxygenGenerator();
enum DocumentationStyle {
JavaStyle,
QtStyle
JavaStyle, ///< JavaStyle comment: /**
QtStyle, ///< QtStyle comment: /*!
CppStyleA, ///< CppStyle comment variant A: ///
CppStyleB ///< CppStyle comment variant B: //!
};
void setStyle(DocumentationStyle style);