diff options
author | Christian Lippka <cl@openoffice.org> | 2001-01-17 17:30:18 +0000 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2001-01-17 17:30:18 +0000 |
commit | 0daea8787b291f7b0c0943786602ad81e14b58d3 (patch) | |
tree | aceac9976d0e28ad76ded26e84cae51fea17a05c /sd/source/ui/inc/unomodel.hxx | |
parent | 5e0fe5464ecb9b1533c4499b34c92c28b6aa7b33 (diff) |
#82722# added XServiceInfo
Diffstat (limited to 'sd/source/ui/inc/unomodel.hxx')
-rw-r--r-- | sd/source/ui/inc/unomodel.hxx | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/sd/source/ui/inc/unomodel.hxx b/sd/source/ui/inc/unomodel.hxx index 64d0025f4b52..b8da9d67516a 100644 --- a/sd/source/ui/inc/unomodel.hxx +++ b/sd/source/ui/inc/unomodel.hxx @@ -2,9 +2,9 @@ * * $RCSfile: unomodel.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: cl $ $Date: 2000-12-01 17:09:32 $ + * last change: $Author: cl $ $Date: 2001-01-17 18:30:18 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -251,9 +251,9 @@ public: * * ***********************************************************************/ -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase2.hxx> -class SdDrawPagesAccess : public ::cppu::WeakImplHelper1< ::com::sun::star::drawing::XDrawPages > +class SdDrawPagesAccess : public ::cppu::WeakImplHelper2< ::com::sun::star::drawing::XDrawPages, ::com::sun::star::lang::XServiceInfo > { private: SdXImpressDocument& rModel; @@ -273,12 +273,17 @@ public: // XElementAccess virtual ::com::sun::star::uno::Type SAL_CALL getElementType() throw(::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException); + + // XServiceInfo + virtual ::rtl::OUString SAL_CALL getImplementationName( ) throw(::com::sun::star::uno::RuntimeException); + virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw(::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException); }; /*********************************************************************** * * ***********************************************************************/ -class SdMasterPagesAccess : public ::cppu::WeakImplHelper1< ::com::sun::star::drawing::XDrawPages > +class SdMasterPagesAccess : public ::cppu::WeakImplHelper2< ::com::sun::star::drawing::XDrawPages, ::com::sun::star::lang::XServiceInfo > { private: SdXImpressDocument& rModel; @@ -298,6 +303,11 @@ public: // XElementAccess virtual ::com::sun::star::uno::Type SAL_CALL getElementType() throw(::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException); + + // XServiceInfo + virtual ::rtl::OUString SAL_CALL getImplementationName( ) throw(::com::sun::star::uno::RuntimeException); + virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw(::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException); }; /*********************************************************************** |