[Libreoffice-commits] core.git: include/cppuhelper

Stephan Bergmann sbergman at redhat.com
Wed Jan 7 08:46:25 PST 2015


 include/cppuhelper/implbase.hxx |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)

New commits:
commit 43a0bae9f6563afb441490b2d54166e6c926d063
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jan 7 17:45:56 2015 +0100

    bla, bla
    
    Change-Id: Ied7a6f8d5b4555dc561fc24d3b6b9743e9e2a266

diff --git a/include/cppuhelper/implbase.hxx b/include/cppuhelper/implbase.hxx
index e97196d..7b3186c 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...


More information about the Libreoffice-commits mailing list