diff -urNpw @udkapi/com/sun/star/io/SequenceOutputStream.idl udkapi/com/sun/star/io/SequenceOutputStream.idl --- @udkapi/com/sun/star/io/SequenceOutputStream.idl 1970-01-01 08:00:00.000000000 +0800 +++ udkapi/com/sun/star/io/SequenceOutputStream.idl 2007-09-12 10:20:30.000000000 +0800 @@ -0,0 +1,56 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: SequenceInputStream.idl,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: hr $ $Date: 2007/06/26 16:08:11 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ +#ifndef __com_sun_star_io_SequenceOutputStream_idl__ +#define __com_sun_star_io_SequenceOutputStream_idl__ + +#ifndef __com_sun_star_io_XSequenceOutputStream_idl__ +#include +#endif + + +//============================================================================= + +module com { module sun { module star { module io { + +//============================================================================= +/** This service allows to wrap a sequence of bytes with a output stream object. + */ +service SequenceOutputStream : XSequenceOutputStream; + +//============================================================================= + +}; }; }; }; + +#endif diff -urNpw @udkapi/com/sun/star/io/XSequenceOutputStream.idl udkapi/com/sun/star/io/XSequenceOutputStream.idl --- @udkapi/com/sun/star/io/XSequenceOutputStream.idl 1970-01-01 08:00:00.000000000 +0800 +++ udkapi/com/sun/star/io/XSequenceOutputStream.idl 2007-09-12 10:18:30.000000000 +0800 @@ -0,0 +1,71 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: SequenceInputStream.idl,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: hr $ $Date: 2007/06/26 16:08:11 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ +#ifndef __com_sun_star_io_XSequenceOutputStream_idl__ +#define __com_sun_star_io_XSequenceOutputStream_idl__ + +#ifndef __com_sun_star_io_XOutputStream_idl__ +#include +#endif + +#ifndef __com_sun_star_io_NotConnectedException_idl__ +#include +#endif + +#ifndef __com_sun_star_io_IOException_idl__ +#include +#endif + + +//============================================================================= + +module com { module sun { module star { module io { + +//============================================================================= +/** This interface offers access to the written bytes +*/ +interface XSequenceOutputStream +{ + interface XOutputStream; + + sequence< byte > getWrittenBytes() + raises( com::sun::star::io::NotConnectedException, + com::sun::star::io::IOException ); +}; + +//============================================================================= + +}; }; }; }; + +#endif \ No newline at end of file diff -urNpw @udkapi/com/sun/star/io/makefile.mk udkapi/com/sun/star/io/makefile.mk --- @udkapi/com/sun/star/io/makefile.mk 2007-06-27 00:08:34.000000000 +0800 +++ udkapi/com/sun/star/io/makefile.mk 2007-09-12 10:18:10.000000000 +0800 @@ -61,6 +61,7 @@ IDLFILES=\ Pipe.idl\ Pump.idl\ SequenceInputStream.idl\ + SequenceOutputStream.idl\ UnexpectedEOFException.idl\ WrongFormatException.idl\ XActiveDataControl.idl\ @@ -84,6 +85,7 @@ IDLFILES=\ XStreamListener.idl\ XSeekable.idl\ XSeekableInputStream.idl\ + XSequenceOutputStream.idl\ TextInputStream.idl\ TextOutputStream.idl\ XTextInputStream.idl\