Difference between revisions of "Documentation/DevGuide/WritingUNO/C++/Implementing your own Interfaces"
From Apache OpenOffice Wiki
< Documentation | DevGuide
OOoWikiBot (talk | contribs) m (Robot: Changing Category:Writing UNO Components) |
OOoWikiBot (talk | contribs) m (Robot: Automated text replacement (-Category:Documentation/Developers Guide/Professional UNO +Category:Documentation/Developers Guide/Writing UNO)) |
||
Line 19: | Line 19: | ||
{{PDL1}} | {{PDL1}} | ||
− | [[Category:Documentation/Developers Guide/ | + | [[Category:Documentation/Developers Guide/Writing UNO]] |
Revision as of 07:16, 4 June 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
< {{#switch:Previous Page | Previous Section = Previous Section | Next Section = Next Section | Previous Page = Previous Page | Next Page = Next Page | }} | {{#switch:Next Page | Previous Section = Previous Section | Next Section = Next Section | Previous Page = Previous Page | Next Page = Next Page | }} > |
For the my_module.XSomething
interface, add a string to be returned that informs the caller when methodOne()
was called successfully.
OUString MyService2Impl::methodOne( OUString const & str )
throw (RuntimeException)
{
return OUString( RTL_CONSTASCII_USTRINGPARAM(
"called methodOne() of MyService2 implementation: ") ) + str;
}
Content on this page is licensed under the Public Documentation License (PDL). |