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) |
OOoWikiBot (Talk | contribs) m (FINAL VERSION FOR L10N) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
|NextPage=Documentation/DevGuide/WritingUNO/C++/Building and Testing C++ Components | |NextPage=Documentation/DevGuide/WritingUNO/C++/Building and Testing C++ Components | ||
}} | }} | ||
+ | {{Documentation/DevGuideLanguages|Documentation/DevGuide/WritingUNO/C++/{{SUBPAGENAME}}}} | ||
{{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. | ||
Line 10: | Line 11: | ||
{{PDL1}} | {{PDL1}} | ||
− | [[Category:Documentation/ | + | [[Category:Documentation/Developer's Guide/Writing UNO Components]] |
Latest revision as of 09:44, 13 May 2009
- 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). |