diff options
author | Andreas Bregas <ab@openoffice.org> | 2001-07-02 11:02:12 +0000 |
---|---|---|
committer | Andreas Bregas <ab@openoffice.org> | 2001-07-02 11:02:12 +0000 |
commit | 17c5d5b91b354b58e941e01828b9dd001a5dae6a (patch) | |
tree | 472b67a5160c38768f4677eff930f16581f5921d /xmlscript/inc | |
parent | 44745ea3c1e1809d2f1de344541162b1b9505492 (diff) |
#89073# New library import/export interfaces
Diffstat (limited to 'xmlscript/inc')
-rw-r--r-- | xmlscript/inc/xmlscript/xmllib_imexp.hxx | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/xmlscript/inc/xmlscript/xmllib_imexp.hxx b/xmlscript/inc/xmlscript/xmllib_imexp.hxx index e3d19bf5e39f..f5f0bb8306b5 100644 --- a/xmlscript/inc/xmlscript/xmllib_imexp.hxx +++ b/xmlscript/inc/xmlscript/xmllib_imexp.hxx @@ -2,9 +2,9 @@ * * $RCSfile: xmllib_imexp.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: dbo $ $Date: 2001-04-04 14:35:07 $ + * last change: $Author: ab $ $Date: 2001-07-02 12:00:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -95,15 +95,26 @@ struct LibDescriptor ::com::sun::star::uno::Sequence< ::rtl::OUString > aElementNames; }; +struct LibDescriptorArray +{ + LibDescriptor* mpLibs; + sal_Int32 mnLibCount; + + LibDescriptorArray( void ) { mpLibs = NULL; } + LibDescriptorArray( sal_Int32 nLibCount ); + + ~LibDescriptorArray(); + +}; + SAL_DLLEXPORT void SAL_CALL exportLibraryContainer( ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XExtendedDocumentHandler > const & xOut, - LibDescriptor* pLibs, sal_Int32 nLibCount ) + const LibDescriptorArray* pLibArray ) SAL_THROW( (::com::sun::star::uno::Exception) ); SAL_DLLEXPORT ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > -SAL_CALL importLibraryContainer( - LibDescriptor*& rpLibs, sal_Int32& rnLibCount ) +SAL_CALL importLibraryContainer( LibDescriptorArray* pLibArray ) SAL_THROW( (::com::sun::star::uno::Exception) ); //================================================================================================== |