Reference Manual - 0.8.0
IComa   CreateComponent

Create a new component

DirectResult CreateComponent (
  IComa   * thiz,
  const char   * name,
  ComaMethodFunc   func,
  int   num_notifications,
  void   * ctx,
  IComaComponent   ** ret_component
);

The component still needs to be activated after notification setup etc. using IComaComponent::Activate().

Corresponding calls to IComa::GetComponent() will block until the component has been activated!

Creative Commons License This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License