INTEGRATION: CWS changefileheader (1.19.72); FILE MERGED
2008/04/01 16:02:31 thb 1.19.72.3: #i85898# Stripping all external header guards 2008/04/01 12:58:30 thb 1.19.72.2: #i85898# Stripping all external header guards 2008/03/31 15:30:34 rt 1.19.72.1: #i87441# Change license header to LPGL v3.
This commit is contained in:
@@ -1,35 +1,30 @@
|
|||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
*
|
*
|
||||||
* OpenOffice.org - a multi-platform office productivity suite
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* $RCSfile: ucbdemo.cxx,v $
|
* Copyright 2008 by Sun Microsystems, Inc.
|
||||||
*
|
*
|
||||||
* $Revision: 1.19 $
|
* OpenOffice.org - a multi-platform office productivity suite
|
||||||
*
|
*
|
||||||
* last change: $Author: ihi $ $Date: 2007-06-05 18:23:38 $
|
* $RCSfile: ucbdemo.cxx,v $
|
||||||
|
* $Revision: 1.20 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to
|
* This file is part of OpenOffice.org.
|
||||||
* the terms of GNU Lesser General Public License Version 2.1.
|
|
||||||
*
|
*
|
||||||
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Lesser General Public License version 3
|
||||||
|
* only, as published by the Free Software Foundation.
|
||||||
*
|
*
|
||||||
* GNU Lesser General Public License Version 2.1
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
||||||
* =============================================
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* Copyright 2005 by Sun Microsystems, Inc.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
* GNU Lesser General Public License version 3 for more details
|
||||||
|
* (a copy is included in the LICENSE file that accompanied this code).
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* version 3 along with OpenOffice.org. If not, see
|
||||||
* License version 2.1, as published by the Free Software Foundation.
|
* <http://www.openoffice.org/license.html>
|
||||||
*
|
* for a copy of the LGPLv3 License.
|
||||||
* 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
|
|
||||||
*
|
*
|
||||||
************************************************************************/
|
************************************************************************/
|
||||||
|
|
||||||
@@ -37,161 +32,56 @@
|
|||||||
#include "precompiled_ucb.hxx"
|
#include "precompiled_ucb.hxx"
|
||||||
|
|
||||||
#include <stack>
|
#include <stack>
|
||||||
|
|
||||||
#ifndef _RTL_USTRBUF_HXX_
|
|
||||||
#include <rtl/ustrbuf.hxx>
|
#include <rtl/ustrbuf.hxx>
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _VOS_MUTEX_HXX_
|
|
||||||
#include <vos/mutex.hxx>
|
#include <vos/mutex.hxx>
|
||||||
#endif
|
|
||||||
#ifndef _VOS_PROCESS_HXX_
|
|
||||||
#include <vos/process.hxx>
|
#include <vos/process.hxx>
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _CPPUHELPER_WEAK_HXX_
|
|
||||||
#include <cppuhelper/weak.hxx>
|
#include <cppuhelper/weak.hxx>
|
||||||
#endif
|
|
||||||
#ifndef _CPPUHELPER_BOOTSTRAP_HXX_
|
|
||||||
#include <cppuhelper/bootstrap.hxx>
|
#include <cppuhelper/bootstrap.hxx>
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_CONTENTACTION_HPP_
|
|
||||||
#include <com/sun/star/ucb/ContentAction.hpp>
|
#include <com/sun/star/ucb/ContentAction.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_OPENCOMMANDARGUMENT2_HPP_
|
|
||||||
#include <com/sun/star/ucb/OpenCommandArgument2.hpp>
|
#include <com/sun/star/ucb/OpenCommandArgument2.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_CONTENTRESULTSETCAPABILITY_HPP_
|
|
||||||
#include <com/sun/star/ucb/ContentResultSetCapability.hpp>
|
#include <com/sun/star/ucb/ContentResultSetCapability.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_SEARCHCOMMANDARGUMENT_HPP_
|
|
||||||
#include <com/sun/star/ucb/SearchCommandArgument.hpp>
|
#include <com/sun/star/ucb/SearchCommandArgument.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_NAMECLASH_HPP_
|
|
||||||
#include <com/sun/star/ucb/NameClash.hpp>
|
#include <com/sun/star/ucb/NameClash.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_TRANSFERINFO_HPP_
|
|
||||||
#include <com/sun/star/ucb/TransferInfo.hpp>
|
#include <com/sun/star/ucb/TransferInfo.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_GLOBALTRANSFERCOMMANDARGUMENT_HPP_
|
|
||||||
#include <com/sun/star/ucb/GlobalTransferCommandArgument.hpp>
|
#include <com/sun/star/ucb/GlobalTransferCommandArgument.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_XCONTENTIDENTIFIERFACTORY_HPP_
|
|
||||||
#include <com/sun/star/ucb/XContentIdentifierFactory.hpp>
|
#include <com/sun/star/ucb/XContentIdentifierFactory.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_COMMANDINFO_HPP_
|
|
||||||
#include <com/sun/star/ucb/CommandInfo.hpp>
|
#include <com/sun/star/ucb/CommandInfo.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_XCONTENTPROVIDERMANAGER_HPP_
|
|
||||||
#include <com/sun/star/ucb/XContentProviderManager.hpp>
|
#include <com/sun/star/ucb/XContentProviderManager.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_LANG_XMULTISERVICEFACTORY_HPP_
|
|
||||||
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_BEANS_PROPERTY_HPP_
|
|
||||||
#include <com/sun/star/beans/Property.hpp>
|
#include <com/sun/star/beans/Property.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_LANG_XCOMPONENT_HPP_
|
|
||||||
#include <com/sun/star/lang/XComponent.hpp>
|
#include <com/sun/star/lang/XComponent.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_CHAOSPROGRESSSTART_HPP_
|
|
||||||
#include <com/sun/star/ucb/CHAOSProgressStart.hpp>
|
#include <com/sun/star/ucb/CHAOSProgressStart.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_OPENMODE_HPP_
|
|
||||||
#include <com/sun/star/ucb/OpenMode.hpp>
|
#include <com/sun/star/ucb/OpenMode.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_RESULTSETEXCEPTION_HPP_
|
|
||||||
#include <com/sun/star/ucb/ResultSetException.hpp>
|
#include <com/sun/star/ucb/ResultSetException.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_IO_XOUTPUTSTREAM_HPP_
|
|
||||||
#include <com/sun/star/io/XOutputStream.hpp>
|
#include <com/sun/star/io/XOutputStream.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_BEANS_XPROPERTYSET_HPP_
|
|
||||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_BEANS_XPROPERTYCONTAINER_HPP_
|
|
||||||
#include <com/sun/star/beans/XPropertyContainer.hpp>
|
#include <com/sun/star/beans/XPropertyContainer.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_XPROGRESSHANDLER_HPP_
|
|
||||||
#include <com/sun/star/ucb/XProgressHandler.hpp>
|
#include <com/sun/star/ucb/XProgressHandler.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_XCOMMANDENVIRONMENT_HPP_
|
|
||||||
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
|
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_BEANS_XPROPERTIESCHANGELISTENER_HPP_
|
|
||||||
#include <com/sun/star/beans/XPropertiesChangeListener.hpp>
|
#include <com/sun/star/beans/XPropertiesChangeListener.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_BEANS_XPROPERTIESCHANGENOTIFIER_HPP_
|
|
||||||
#include <com/sun/star/beans/XPropertiesChangeNotifier.hpp>
|
#include <com/sun/star/beans/XPropertiesChangeNotifier.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_XCOMMANDPROCESSOR_HPP_
|
|
||||||
#include <com/sun/star/ucb/XCommandProcessor.hpp>
|
#include <com/sun/star/ucb/XCommandProcessor.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_XDYNAMICRESULTSET_HPP_
|
|
||||||
#include <com/sun/star/ucb/XDynamicResultSet.hpp>
|
#include <com/sun/star/ucb/XDynamicResultSet.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_SDBC_XROW_HPP_
|
|
||||||
#include <com/sun/star/sdbc/XRow.hpp>
|
#include <com/sun/star/sdbc/XRow.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_XCONTENTACCESS_HPP_
|
|
||||||
#include <com/sun/star/ucb/XContentAccess.hpp>
|
#include <com/sun/star/ucb/XContentAccess.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_XCOMMANDINFO_HPP_
|
|
||||||
#include <com/sun/star/ucb/XCommandInfo.hpp>
|
#include <com/sun/star/ucb/XCommandInfo.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_BEANS_PROPERTYVALUE_HPP_
|
|
||||||
#include <com/sun/star/beans/PropertyValue.hpp>
|
#include <com/sun/star/beans/PropertyValue.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_UCB_XSORTEDDYNAMICRESULTSETFACTORY_HPP_
|
|
||||||
#include <com/sun/star/ucb/XSortedDynamicResultSetFactory.hpp>
|
#include <com/sun/star/ucb/XSortedDynamicResultSetFactory.hpp>
|
||||||
#endif
|
|
||||||
#ifndef _COM_SUN_STAR_BRIDGE_XUNOURLRESOLVER_HPP_
|
|
||||||
#include <com/sun/star/bridge/XUnoUrlResolver.hpp>
|
#include <com/sun/star/bridge/XUnoUrlResolver.hpp>
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _COMPHELPER_PROCESSFACTORY_HXX_
|
|
||||||
#include <comphelper/processfactory.hxx>
|
#include <comphelper/processfactory.hxx>
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _UCBHELPER_CONFIGURATIONKEYS_HXX_
|
|
||||||
#include <ucbhelper/configurationkeys.hxx>
|
#include <ucbhelper/configurationkeys.hxx>
|
||||||
#endif
|
|
||||||
#ifndef _UCBHELPER_FILEIDENTIFIERCONVERTER_HXX_
|
|
||||||
#include <ucbhelper/fileidentifierconverter.hxx>
|
#include <ucbhelper/fileidentifierconverter.hxx>
|
||||||
#endif
|
|
||||||
#ifndef _UCBHELPER_CONTENTBROKER_HXX
|
|
||||||
#include <ucbhelper/contentbroker.hxx>
|
#include <ucbhelper/contentbroker.hxx>
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _TOOLS_DEBUG_HXX
|
|
||||||
#include <tools/debug.hxx>
|
#include <tools/debug.hxx>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "tools/time.hxx"
|
#include "tools/time.hxx"
|
||||||
|
|
||||||
#ifndef _SV_WRKWIN_HXX
|
|
||||||
#include <vcl/wrkwin.hxx>
|
#include <vcl/wrkwin.hxx>
|
||||||
#endif
|
|
||||||
#ifndef _SV_TOOLBOX_HXX
|
|
||||||
#include <vcl/toolbox.hxx>
|
#include <vcl/toolbox.hxx>
|
||||||
#endif
|
|
||||||
#ifndef _SV_EDIT_HXX
|
|
||||||
#include <vcl/edit.hxx>
|
#include <vcl/edit.hxx>
|
||||||
#endif
|
|
||||||
#ifndef _SV_LSTBOX_HXX
|
|
||||||
#include <vcl/lstbox.hxx>
|
#include <vcl/lstbox.hxx>
|
||||||
#endif
|
|
||||||
#ifndef _SV_SVAPP_HXX
|
|
||||||
#include <vcl/svapp.hxx>
|
#include <vcl/svapp.hxx>
|
||||||
#endif
|
|
||||||
#ifndef _SV_HELP_HXX
|
|
||||||
#include <vcl/help.hxx>
|
#include <vcl/help.hxx>
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef UCBDEMO_SRCHARG_HXX
|
|
||||||
#include <srcharg.hxx>
|
#include <srcharg.hxx>
|
||||||
#endif
|
|
||||||
|
|
||||||
using ucbhelper::getLocalFileURL;
|
using ucbhelper::getLocalFileURL;
|
||||||
using ucbhelper::getSystemPathFromFileURL;
|
using ucbhelper::getSystemPathFromFileURL;
|
||||||
|
Reference in New Issue
Block a user