Difference between revisions of "Documentation/DevGuide/WritingUNO/C++/Multiple Components in One Dynamic Link Library"
From Apache OpenOffice Wiki
< Documentation | DevGuide
OOoWikiBot (Talk | contribs) m (Robot: Changing Category:Documentation/Developers Guide/Writing UNO Components) |
m |
||
Line 5: | Line 5: | ||
|NextPage=Documentation/DevGuide/WritingUNO/C++/Building and Testing C++ Components | |NextPage=Documentation/DevGuide/WritingUNO/C++/Building and Testing C++ Components | ||
}} | }} | ||
+ | [[zh:Zh/Documentation/DevGuide/WritingUNO/C++/Multiple Components in One Dynamic Link Library]] | ||
{{DISPLAYTITLE:Multiple Components in One Dynamic Link Library}} | {{DISPLAYTITLE:Multiple Components in One Dynamic Link Library}} | ||
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 <code>component_writeInfo()</code> and <code>component_getFactory()</code> handle all services correctly. Refer to the sample component <code>simple_component</code> to see an example on how to implement two services in one link library. | 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 <code>component_writeInfo()</code> and <code>component_getFactory()</code> handle all services correctly. Refer to the sample component <code>simple_component</code> to see an example on how to implement two services in one link library. |
Revision as of 09:02, 30 July 2008
- 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). |