Multiple Components in One Dynamic Link Library
From Apache OpenOffice Wiki
< Documentation | DevGuide
- Class Definition with Helper Template Classes
- Implementing your own Interfaces
- Providing a Single Factory Using a Helper Method
- Write Registration Info Using a Helper Method
- Provide Implementation Environment
- Implementing without Helpers
- Storing the Service Manager for Further Use
- Create Instance with Arguments
- Multiple Components in One Dynamic Link Library
- Building and Testing C++ Components
The construction of C++ components allows putting as many service implementations into a component file as desired. Ensure that the component operations are implemented in such a way that component_writeInfo()
and component_getFactory()
handle all services correctly. Refer to the sample component simple_component
to see an example on how to implement two services in one link library.
Content on this page is licensed under the Public Documentation License (PDL). |