Adding the Include File and Library File of a New Class to the Generated Code
The C++ code that defines a panel containing an instance of a new user-defined class must contain the #include statement corresponding to the new class. To add this instruction, insert the following code in an initialization method of your extension class.
For example:
#include <ivstudio/appcode.h>
IlBoolean
MyStudioExtension::initializeBuffers()
{
// If the IlvRegisterClass is not already done.
This macro must be called only once.
IlvRegisterClass (MyClass, TheSuperClass);
IlvRegisterClassCodeInformation (MyClass,"<myclass.h>","mylib");
// ...
return IlTrue;
}
Published date: 05/24/2022
Last modified date: 02/24/2022