[ Version ( deprecated = true , deprecated_since = "0.15.0" ) ]
public bool add_component (Component cpt) throws Error
Warning: add_component is deprecated since 0.15.0.
Register a new component in the AppStream metadata pool.
This function is very inefficient. Collect all the components you need to add, and then register them with as_pool_add_components in one go.
this |
An instance of Pool |
cpt |
The Component to add to the pool. |
true if the new component was successfully added to the pool. |