From 43a0bae9f6563afb441490b2d54166e6c926d063 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 7 Jan 2015 17:45:56 +0100 Subject: [PATCH] bla, bla Change-Id: Ied7a6f8d5b4555dc561fc24d3b6b9743e9e2a266 --- include/cppuhelper/implbase.hxx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/include/cppuhelper/implbase.hxx b/include/cppuhelper/implbase.hxx index e97196d8532e..7b3186c83268 100644 --- a/include/cppuhelper/implbase.hxx +++ b/include/cppuhelper/implbase.hxx @@ -113,6 +113,23 @@ public: { return css::uno::Sequence(); } }; +/** Implementation helper implementing interfaces + com::sun::star::uno::XInterface and com::sun::star::lang::XTypeProvider + inherting from a BaseClass. + + All acquire() and release() calls are delegated to the BaseClass. Upon + queryInterface(), if a demanded interface is not supported by this class + directly, the request is delegated to the BaseClass. + + @attention + The BaseClass has to be complete in the sense that + com::sun::star::uno::XInterface and com::sun::star::lang::XTypeProvider are + implemented properly. + + @derive + Inherit from this class giving your additional interface(s) to be + implemented as template argument(s). +*/ template class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE ImplInheritanceHelper: public BaseClass, public Ifc...