From 17ba275d71d9312de98d6e3b3f1abddbe86c3524 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Tue, 3 Feb 2004 10:50:05 +0000 Subject: INTEGRATION: CWS sb10 (1.6.64); FILE MERGED 2003/12/10 09:26:44 sb 1.6.64.1: #114000# Adapted to multiple-inheritance interface types. --- registry/inc/registry/reflread.hxx | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) (limited to 'registry/inc') diff --git a/registry/inc/registry/reflread.hxx b/registry/inc/registry/reflread.hxx index 82b71be0bc23..64b5f4bfbe2e 100644 --- a/registry/inc/registry/reflread.hxx +++ b/registry/inc/registry/reflread.hxx @@ -2,9 +2,9 @@ * * $RCSfile: reflread.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: jsc $ $Date: 2001-11-15 18:01:32 $ + * last change: $Author: hr $ $Date: 2004-02-03 11:50:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -128,6 +128,9 @@ struct RegistryTypeReader_Api RTReferenceType (TYPEREG_CALLTYPE *getReferenceType) (TypeReaderImpl, sal_uInt16); void (TYPEREG_CALLTYPE *getReferenceDoku) (TypeReaderImpl, rtl_uString**, sal_uInt16); RTFieldAccess (TYPEREG_CALLTYPE *getReferenceAccess) (TypeReaderImpl, sal_uInt16); + + sal_uInt32 (TYPEREG_CALLTYPE *getMISuperTypeCount) (TypeReaderImpl); + void (TYPEREG_CALLTYPE *getMISuperTypeName) (TypeReaderImpl, rtl_uString**, sal_uInt16); }; /** specifies a function pointer of the initialization function which is called to initialize @@ -402,6 +405,17 @@ public: */ inline RTFieldAccess getReferenceAccess( sal_uInt16 index ) const; + /** returns the number of supertypes (in multiple-inheritance situations). + */ + inline sal_uInt16 getMISuperTypeCount() const; + + /** returns the full qualified name of the supertype specified by index (in + multiple-inheritance situations). + + @param index indicates the supertype. + */ + inline ::rtl::OUString getMISuperTypeName( sal_uInt16 index ) const; + protected: /// stores the registry type reader Api. @@ -625,4 +639,14 @@ inline ::rtl::OUString RegistryTypeReader::getReferenceDoku( sal_uInt16 index ) inline RTFieldAccess RegistryTypeReader::getReferenceAccess( sal_uInt16 index ) const { return m_pApi->getReferenceAccess(m_hImpl, index); } +inline sal_uInt16 RegistryTypeReader::getMISuperTypeCount() const + { return m_pApi->getMISuperTypeCount(m_hImpl); } + +inline ::rtl::OUString RegistryTypeReader::getMISuperTypeName( sal_uInt16 index ) const + { + ::rtl::OUString sRet; + m_pApi->getMISuperTypeName(m_hImpl, &sRet.pData, index); + return sRet; + } + #endif -- cgit