Thanks Andi. I will give that a try!<br><br><div class="gmail_quote">On Wed, Feb 8, 2012 at 12:56 PM, Andi Fischer <span dir="ltr"><<a href="mailto:andi.fischer@hispeed.ch">andi.fischer@hispeed.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 08.02.2012 13:24, schrieb Skip Huffman:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Resending this, since I never saw it on the list yesterday.<br>
<br></div><div class="im">
On Tue, Feb 7, 2012 at 9:43 AM, Skip Huffman <<a href="mailto:skiphuffman@gmail.com" target="_blank">skiphuffman@gmail.com</a> <mailto:<a href="mailto:skiphuffman@gmail.com" target="_blank">skiphuffman@gmail.com</a>><u></u>> wrote:<br>
<br>
How can I include an external library (in my case the standard<br>
library "time") so that the source code that I include in the<br>
diagram and export with the code generator can use it.<br>
<br>
Right now I have to go into the generated files and add the<br>
"import time" to the top of the files.<br>
<br>
<br>
</div></blockquote>
Hi Skip,<br>
<br>
See attached screen shot, which will probably not find its way to the list.<br>
I added a class "time" and a class "MyClass". Then I added an attribute "m_localTime" of type "time" to "MyClass".<br>
<br>
When I generate C++ code, I can find the include of time.h. Works also for python.<br>
Unfortunately this seems not to work for Java or C#.<br>
<br>
Regards,<br>
<br>
Andi<br>
<br>
<br>
</blockquote></div><br>