summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-07 17:45:56 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-07 17:45:56 +0100
commit43a0bae9f6563afb441490b2d54166e6c926d063 (patch)
tree28b2b4ff33ed04044a2fc284513766388a4d474e
parent8ad48d881b5d36af4d2e744cf8031b5f4b2f43e1 (diff)
bla, bla
Change-Id: Ied7a6f8d5b4555dc561fc24d3b6b9743e9e2a266
-rw-r--r--include/cppuhelper/implbase.hxx17
1 files changed, 17 insertions, 0 deletions
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<sal_Int8>(); }
};
+/** 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<typename BaseClass, typename... Ifc>
class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE ImplInheritanceHelper:
public BaseClass, public Ifc...