Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Pascal321 on January 15, 2014, 03:37:09 am

Title: Class template, linebreak in import-field
Post by: Pascal321 on January 15, 2014, 03:37:09 am
Hi,

i need to add 2 or more header files in the import-field from my class template.

Class
{
  %TRANSFORM_REFERENCE("ClassTest")%
  name=%qt%%className%Test%qt%
  language=%qt%%classLanguage%%qt%
  import="#include \%qt%%className%.h%qt% \n #include \%qt%gtest\gtest.h\%qt%"
...

But this is not working in case i generate the header file, because of "wrong sign ~" in line x.

How to put a line break in this line?

Greets
Pascal