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;
}
Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.