diff --git a/wrappers/cpp/genwrapper.py b/wrappers/cpp/genwrapper.py index 9fe1ce1a79563035172077e5abec860afd57eecb..ae11a5e15023d0691a2250fb596b56d8edbe8726 100755 --- a/wrappers/cpp/genwrapper.py +++ b/wrappers/cpp/genwrapper.py @@ -164,6 +164,13 @@ class CppTranslator: 'isListener' : True, 'methods' : [] } + + try: + intDict['briefDoc'] = interface.briefDescription.translate(self.docTranslator, tagAsBrief=True) + intDict['detailedDoc'] = interface.detailedDescription.translate(self.docTranslator) + except metadoc.TranslationError as e: + logging.error(e.msg()) + for method in interface.instanceMethods: methodDict = self.translate_method(method, genImpl=False) intDict['methods'].append(methodDict)