NAVIÉ
Documentation : Effex : Developer API : Classes : Plugins

### Registration

Registration

#### Bool RegisterFXConstraintPlugin (LONG id, const String &str, LONG objectinfo, DataAllocator *npalloc, const String &description, BaseBitmap *icon, LONG disklevel)

Predefined calls to register an Effex constraint plugin.
Returns
true if the constraint plugin was successfully registered.
Parameters
LONG id:
the unique plugin id of your constraint.
const String& str:
the name of your constraint.
LONG objectinfo :
object flags. Usually you can simply pass 0 here.
DataAllocator* npalloc:
Pass the static member function pointer to the constraints Alloc function.
const String& description:
Pass the container id of the constraints description resource.
BaseBitmap* icon:
Pass an icon for your constraint here.
LONG disklevel:
To support different versions of your constraint, pass the disk level here.

#### Bool RegisterFXForcePlugin (LONG id, const String &str, LONG objectinfo, DataAllocator *npalloc, const String &description, BaseBitmap *icon, LONG disklevel)

Predefined calls to register an Effex force plugin.
Returns
true if the force plugin was successfully registered.
Parameters
LONG id:
the unique plugin id of your force.
const String& str:
the name of your force.
LONG objectinfo :
object flags. Usually you can simply pass 0 here.
DataAllocator* npalloc:
Pass the static member function pointer to the force's Alloc function.
const String& description:
Pass the container id of the force's description resource.
BaseBitmap* icon:
Pass an icon for your force here.
LONG disklevel:
To support different versions of your force, pass the disk level here.

#### Bool RegisterFXOperatorPlugin (LONG id, const String &str, LONG objectinfo, DataAllocator *npalloc, const String &description, BaseBitmap *icon, LONG disklevel)

Predefined calls to register an Effex operator plugin.
Returns
true if the operator plugin was successfully registered.
Parameters
LONG id:
the unique plugin id of your operator.
const String& str:
the name of your constraint.
LONG objectinfo :
object flags. Usually you can simply pass 0 here.
DataAllocator* npalloc:
Pass the static member function pointer to the operator's Alloc function.
const String& description:
Pass the container id of the operator's description resource.
BaseBitmap* icon:
Pass an icon for your operator here.
LONG disklevel:
To support different versions of your operator, pass the disk level here.