diff -uprN udkapi_old/com/sun/star/io/TempFile.idl udkapi_new/com/sun/star/io/TempFile.idl --- udkapi_old/com/sun/star/io/TempFile.idl 1970-01-01 08:00:00.000000000 +0800 +++ udkapi_new/com/sun/star/io/TempFile.idl 2007-06-07 11:40:54.000000000 +0800 @@ -0,0 +1,55 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: ,v $ + * + * $Revision: $ + * + * last change: $Author: $ $Date: $ + * + * 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_TempFile_idl__ +#define __com_sun_star_io_TempFile_idl__ + +#ifndef __com_sun_star_io_XTempFile_idl__ +#include +#endif + + +//========================================================================= +module com { module sun { module star { module io { + +//======================================================================== +/** This service allows to get access to temp files. + */ +service TempFile : XTempFile; + +//========================================================================= + +}; }; }; }; + +#endif \ No newline at end of file diff -uprN udkapi_old/com/sun/star/io/XTempFile.idl udkapi_new/com/sun/star/io/XTempFile.idl --- udkapi_old/com/sun/star/io/XTempFile.idl 1970-01-01 08:00:00.000000000 +0800 +++ udkapi_new/com/sun/star/io/XTempFile.idl 2007-06-08 09:23:24.000000000 +0800 @@ -0,0 +1,97 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: ,v $ + * + * $Revision: $ + * + * last change: $Author: $ $Date: $ + * + * 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_XTempFile_idl__ +#define __com_sun_star_io_XTempFile_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include +#endif + +#ifndef __com_sun_star_io_XStream_idl__ +#include +#endif + +#ifndef __com_sun_star_io_XSeekable_idl__ +#include +#endif + + +//======================================================================== +module com { module sun { module star { module io { + +//======================================================================== +/** This interface offers access to temp files. + */ +interface XTempFile +{ + // INTERFACES + // + // ------------------------------------------------------------------- + /** interface XStream offers read and write access to + the same stream. + */ + interface XStream; + + // -------------------------------------------------------------------- + /** interface XSeekable makes it possible to seek to a + certain position within a stream. + */ + interface XSeekable; + + // ATTRIBUTES + // + // -------------------------------------------------------------------- + /** This attribute controls whether the file will be automatically + removed on object destruction. + */ + [attribute] boolean RemoveFile; + + // -------------------------------------------------------------------- + /** This attribute specifies the URL of the temp file. + */ + [readonly,attribute] string Uri; + + // -------------------------------------------------------------------- + /** This attribute specifies the temp file name. + */ + [readonly,attribute] string ResourceName; + +}; + +//========================================================================= + +}; }; }; }; + +#endif \ No newline at end of file diff -uprN udkapi_old/com/sun/star/io/makefile.mk udkapi_new/com/sun/star/io/makefile.mk --- udkapi_old/com/sun/star/io/makefile.mk 2007-06-06 15:05:14.000000000 +0800 +++ udkapi_new/com/sun/star/io/makefile.mk 2007-05-18 15:19:00.000000000 +0800 @@ -93,7 +93,9 @@ IDLFILES=\ SocketException.idl\ NoRouteToHostException.idl\ ConnectException.idl \ - XAsyncOutputMonitor.idl + XAsyncOutputMonitor.idl\ + XTempFile.idl\ + TempFile.idl # ------------------------------------------------------------------