diff options
author | Eike Rathke <er@openoffice.org> | 2001-11-12 15:12:06 +0000 |
---|---|---|
committer | Eike Rathke <er@openoffice.org> | 2001-11-12 15:12:06 +0000 |
commit | 4d36acf45a019e7fba4033bf384879e9942009a7 (patch) | |
tree | fb7222cea50435afcaf92ac4dacb88ffb00ebc87 /i18npool | |
parent | 51623b298d0b694443a7c3fd887c1339ada48e4a (diff) |
#84725# add XServiceInfo implementation
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/inc/indexentrysupplier.hxx | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/i18npool/inc/indexentrysupplier.hxx b/i18npool/inc/indexentrysupplier.hxx index c333236df1d3..1a72dc2ac524 100644 --- a/i18npool/inc/indexentrysupplier.hxx +++ b/i18npool/inc/indexentrysupplier.hxx @@ -2,9 +2,9 @@ * * $RCSfile: indexentrysupplier.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: bustamam $ $Date: 2001-09-16 15:22:59 $ + * last change: $Author: er $ $Date: 2001-11-12 16:12:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -65,20 +65,24 @@ #ifndef _COM_SUN_STAR_I18N_XINDEXENTRYSUPPLIER_HPP_ #include <com/sun/star/i18n/XIndexEntrySupplier.hpp> #endif -#ifndef _CPPUHELPER_IMPLBASE1_HXX_ -#include <cppuhelper/implbase1.hxx> // helper for implementations +#ifndef _CPPUHELPER_IMPLBASE2_HXX_ +#include <cppuhelper/implbase2.hxx> // helper for implementations #endif #ifndef _COM_SUN_STAR_I18N_XCHARACTERCLASSIFICATION_HPP_ #include <com/sun/star/i18n/XCharacterClassification.hpp> #endif +#ifndef _COM_SUN_STAR_LANG_XSERVICEINFO_HPP_ +#include <com/sun/star/lang/XServiceInfo.hpp> +#endif // ---------------------------------------------------- // class BreakIterator // ---------------------------------------------------- -class IndexEntrySupplier : public cppu::WeakImplHelper1 +class IndexEntrySupplier : public cppu::WeakImplHelper2 < - ::com::sun::star::i18n::XIndexEntrySupplier + ::com::sun::star::i18n::XIndexEntrySupplier, + ::com::sun::star::lang::XServiceInfo > { ::com::sun::star::uno::Reference < @@ -101,6 +105,14 @@ public: getIndexFollowPageWord( sal_Bool MorePages, const ::com::sun::star::lang::Locale& aLocale ) throw (::com::sun::star::uno::RuntimeException); + + //XServiceInfo + virtual rtl::OUString SAL_CALL getImplementationName(void) + 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(void) + throw( ::com::sun::star::uno::RuntimeException ); }; #endif |