Emesary: Difference between revisions

Jump to navigation Jump to search
224 bytes added ,  26 June 2016
Line 221: Line 221:


The C++ version should be compatible with the Nasal port, i.e. so that the same Emesary notifications, transmitter and recipients can be used in scripting space and native code, it would make sense to look at the [[Nasal/CppBind]] framework to accomplish that.
The C++ version should be compatible with the Nasal port, i.e. so that the same Emesary notifications, transmitter and recipients can be used in scripting space and native code, it would make sense to look at the [[Nasal/CppBind]] framework to accomplish that.
For the time being, $SG_SRC/canvas/layout/NasalWidget.cxx demonstrates how a C++  "interface" (base class) can be overridden from scripting space by using a corresponding wrapper (see $FG_ROOT/Nasal/canvas/gui/Widget.nas).


== Use Cases ==
== Use Cases ==

Navigation menu