27 #ifndef COSMO_CONNECT_INTERFACE_H
28 #define COSMO_CONNECT_INTERFACE_H
30 #include <Pt/Cosmo/Api.h>
31 #include <Pt/Cosmo/IUnknown.h>
38 class IComponentPlugin;
108 #endif // include guard
Core module.
Definition: Allocator.h:33
bool isConnectable(IComponentPlugin &p) const
Returns true if the plugin is connectable.
Definition: IConnect.h:74
void addComponent(Component &c)
Notifies that a connectable component was loaded.
Definition: IConnect.h:56
Component base class.
Definition: Component.h:52
virtual void onComponentAdded(Component &c)=0
Called when a matching component is loaded.
Component plugin interface.
Definition: IComponentPlugin.h:51
Interface base class.
Definition: IUnknown.h:44
virtual void onComponentRemoved(Component &c)=0
Called when a matching component is being removed.
Interface for optional component connections.
Definition: IConnect.h:50
virtual bool onIsConnectable(IComponentPlugin &p) const =0
Determines whether a plugin is connectable.
void removeComponent(Component &c)
Notifies that a connectable component is being removed.
Definition: IConnect.h:65