From 3250cfc03a32f283118d0ab2dbc77303c6052bd8 Mon Sep 17 00:00:00 2001 From: Andreas Bregas Date: Mon, 26 Feb 2001 08:54:48 +0000 Subject: Functions to import/export from/to Sequence< byte > --- xmlscript/inc/xmlscript/xmldlg_imexp.hxx | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'xmlscript/inc') diff --git a/xmlscript/inc/xmlscript/xmldlg_imexp.hxx b/xmlscript/inc/xmlscript/xmldlg_imexp.hxx index 5feeb58e3494..6f8006f30f99 100644 --- a/xmlscript/inc/xmlscript/xmldlg_imexp.hxx +++ b/xmlscript/inc/xmlscript/xmldlg_imexp.hxx @@ -2,9 +2,9 @@ * * $RCSfile: xmldlg_imexp.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: dbo $ $Date: 2001-02-21 20:49:25 $ + * last change: $Author: ab $ $Date: 2001-02-26 09:51:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -61,9 +61,15 @@ #ifndef _XMLSCRIPT_XMLDLG_IMEXP_HXX_ #define _XMLSCRIPT_XMLDLG_IMEXP_HXX_ +#ifndef _COM_SUN_STAR_CONTAINER_XNAMECONTAINER_HXX_ #include +#endif +#ifndef _COM_SUN_STAR_XML_SAX_XEXTENDEDDOCUMENTHANDLER_HXX_ #include - +#endif +#ifndef _COM_SUN_STAR_UNO_SEQUENCE_HXX_ +#include +#endif namespace xmlscript { @@ -87,4 +93,17 @@ SAL_CALL importDialogModel( }; +//================================================================================================== +SAL_DLLEXPORT void SAL_CALL exportDialogModelToByteSequence( + ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > const & xDialogModel, + ::com::sun::star::uno::Sequence< sal_Int8 >& aDestSequence ) + throw (::com::sun::star::uno::Exception); + +//================================================================================================== +SAL_DLLEXPORT void SAL_CALL importDialogModelFromByteSequence( + ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > const & xDialogModel, + ::com::sun::star::uno::Sequence< sal_Int8 > const& aSourceSequence ) + throw (::com::sun::star::uno::Exception); + #endif + -- cgit