merge the formfield patch from ooo-build
[ooovba.git] / ucb / source / ucp / ftp / test_interactionhandler.hxx
blob51cb804cf33b47243210f381167ee4241c9584e6
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: test_interactionhandler.hxx,v $
10 * $Revision: 1.3 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 /**************************************************************************
32 TODO
33 **************************************************************************
35 *************************************************************************/
36 #ifndef _TEST_ACTIVEDATASINK_HXX_
37 #define _TEST_ACTIVEDATASINK_HXX_
39 #include <cppuhelper/weak.hxx>
40 #include <cppuhelper/queryinterface.hxx>
41 #include <com/sun/star/task/XInteractionHandler.hpp>
43 namespace test_ftp {
46 class Test_InteractionHandler
47 : public cppu::OWeakObject,
48 public com::sun::star::task::XInteractionHandler
50 public:
52 // XInterface
54 virtual com::sun::star::uno::Any SAL_CALL
55 queryInterface( const com::sun::star::uno::Type& rType )
56 throw( com::sun::star::uno::RuntimeException );
59 virtual void SAL_CALL acquire( void ) throw();
61 virtual void SAL_CALL release( void ) throw();
64 // XInteractionHandler
66 virtual void SAL_CALL
67 handle( const ::com::sun::star::uno::Reference<
68 ::com::sun::star::task::XInteractionRequest >& Request )
69 throw (::com::sun::star::uno::RuntimeException);
71 private:
78 #endif