Hi,
the man pages of tntnet are now online accessable at
http://www.tntnet.org/man/.
And by the way - I have not yet announced the last tntnet release here yet. So
I will catch up now:
There is a new development release 1.6.3.0 of tntnet available. There is a
nice new feature implemented now. You can now pass c++-classes to
subcomponents as parameters. And this works like this:
In the calling component:
<%cpp>
MyClass object; // define some object instance
</%cpp>
<& mycomp(p1=object) > <# pass the object as a named parameter to a
subcomponent #>
in the called component:
<%param>
MyClass p1; // define a named parameter
</%param>
<%cpp>
// you can use the object with the name p1 here now
</%cpp>
The called component receives a copy of the object, so that the class needs to
be copyable. If you want to pass just a reference, you may pass a pointer
instead.
Tommi
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general