Kaydet (Commit) f2666110 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

One more unused part of comphelper/implbase_var.hxx

Change-Id: I7ef85887de6bf4196d6dc0c141281d310787252c
üst c13b80e2
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
/** This header generates the following template classes with a variable number /** This header generates the following template classes with a variable number
of interfaces: of interfaces:
comphelper::ImplHelper<N> <typename Ifc1, ..., typename Ifc<N> >
comphelper::PartialWeakComponentImplHelper<N> <typename Ifc1, ..., comphelper::PartialWeakComponentImplHelper<N> <typename Ifc1, ...,
typename Ifc<N> > typename Ifc<N> >
...@@ -116,52 +115,6 @@ struct BOOST_PP_CAT(ImplClassData, COMPHELPER_IMPLBASE_INTERFACE_NUMBER) ...@@ -116,52 +115,6 @@ struct BOOST_PP_CAT(ImplClassData, COMPHELPER_IMPLBASE_INTERFACE_NUMBER)
} // namespace detail } // namespace detail
/** Implementation helper implementing interface
::com::sun::star::lang::XTypeProvider and method
XInterface::queryInterface(), but no reference counting.
@derive
Inherit from this class giving your interface(s) to be implemented as
template argument(s). Your sub class defines method implementations for
these interface(s) including acquire()/release() and delegates incoming
queryInterface() calls to this base class.
*/
template< BOOST_PP_ENUM_PARAMS(COMPHELPER_IMPLBASE_INTERFACE_NUMBER,
typename Ifc) >
class SAL_NO_VTABLE BOOST_PP_CAT(ImplHelper,
COMPHELPER_IMPLBASE_INTERFACE_NUMBER)
: public ::com::sun::star::lang::XTypeProvider,
BOOST_PP_ENUM_PARAMS(COMPHELPER_IMPLBASE_INTERFACE_NUMBER, public Ifc)
{
/// @internal
struct cd : public ::rtl::StaticAggregate<
::cppu::class_data,
BOOST_PP_CAT(detail::ImplClassData,
COMPHELPER_IMPLBASE_INTERFACE_NUMBER)
<
BOOST_PP_ENUM_PARAMS(COMPHELPER_IMPLBASE_INTERFACE_NUMBER, Ifc),
BOOST_PP_CAT(ImplHelper, COMPHELPER_IMPLBASE_INTERFACE_NUMBER)<
BOOST_PP_ENUM_PARAMS(COMPHELPER_IMPLBASE_INTERFACE_NUMBER, Ifc)>
> > {};
protected:
BOOST_PP_CAT(ImplHelper, COMPHELPER_IMPLBASE_INTERFACE_NUMBER)() {}
virtual ~BOOST_PP_CAT(ImplHelper, COMPHELPER_IMPLBASE_INTERFACE_NUMBER)() {}
public:
virtual ::com::sun::star::uno::Any
SAL_CALL queryInterface( ::com::sun::star::uno::Type const& rType )
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return ::cppu::ImplHelper_query( rType, cd::get(), this ); }
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >
SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return ::cppu::ImplHelper_getTypes( cd::get() ); }
virtual ::com::sun::star::uno::Sequence<sal_Int8>
SAL_CALL getImplementationId()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return ::cppu::ImplHelper_getImplementationId( cd::get() ); }
};
template < BOOST_PP_ENUM_PARAMS(COMPHELPER_IMPLBASE_INTERFACE_NUMBER, template < BOOST_PP_ENUM_PARAMS(COMPHELPER_IMPLBASE_INTERFACE_NUMBER,
typename Ifc) > typename Ifc) >
class SAL_NO_VTABLE BOOST_PP_CAT(PartialWeakComponentImplHelper, class SAL_NO_VTABLE BOOST_PP_CAT(PartialWeakComponentImplHelper,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment