In Jace 1.1RC1_04, it is not possible to include additional
headers for user generated code.
The reason for this is that for class Foo, the Foo_user.h
file is included inside an open class definition. Leaving
scoping and other issues aside, if the class has an
element that is not syntactically valid inside a class
definition (eg extern "C" {), this will result in an error
during compilation.
A work around is to #include a separate user defined file
before the class definition is opened. The attached
patch generates an additional #include for the
file "Foo_user_hdr.h" before the proxy headers for the
class are included, and before the class definition is
opened.
Patch to PeerGenerator.java to include an additional user header file.
Logged In: YES
user_id=6693
Forgot to mention that this is discussed here:
http://sourceforge.net/forum/forum.php?
thread_id=894842&forum_id=63528