/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ftpintreq.hxx,v $ * $Revision: 1.4 $ * * This file is part of OpenOffice.org. * * 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. * * OpenOffice.org 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 version 3 for more details * (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 License. * ************************************************************************/ #ifndef _FTP_FTPINTREQ_HXX #define _FTP_FTPINTREQ_HXX #include #include #include #include #include #include #include #include namespace ftp { class XInteractionApproveImpl : public cppu::OWeakObject, public com::sun::star::lang::XTypeProvider, public com::sun::star::task::XInteractionApprove { public: XInteractionApproveImpl(); virtual com::sun::star::uno::Any SAL_CALL queryInterface( const com::sun::star::uno::Type& rType ) throw( com::sun::star::uno::RuntimeException); virtual void SAL_CALL acquire( void ) throw(); virtual void SAL_CALL release( void ) throw(); // XTypeProvider XTYPEPROVIDER_DECL() virtual void SAL_CALL select() throw (com::sun::star::uno::RuntimeException); bool isSelected() const; private: bool m_bSelected; }; class XInteractionDisapproveImpl : public cppu::OWeakObject, public com::sun::star::lang::XTypeProvider, public com::sun::star::task::XInteractionDisapprove { public: XInteractionDisapproveImpl(); virtual com::sun::star::uno::Any SAL_CALL queryInterface( const com::sun::star::uno::Type& rType ) throw( com::sun::star::uno::RuntimeException); virtual void SAL_CALL acquire( void ) throw(); virtual void SAL_CALL release( void ) throw(); // XTypeProvider XTYPEPROVIDER_DECL() virtual void SAL_CALL select() throw (com::sun::star::uno::RuntimeException); private: bool m_bSelected; }; class XInteractionRequestImpl : public cppu::OWeakObject, public com::sun::star::lang::XTypeProvider, public com::sun::star::task::XInteractionRequest { public: XInteractionRequestImpl(const rtl::OUString& aName); virtual com::sun::star::uno::Any SAL_CALL queryInterface( const com::sun::star::uno::Type& rType ) throw( com::sun::star::uno::RuntimeException); virtual void SAL_CALL acquire( void ) throw(); virtual void SAL_CALL release( void ) throw(); // XTypeProvider XTYPEPROVIDER_DECL() com::sun::star::uno::Any SAL_CALL getRequest( ) throw (com::sun::star::uno::RuntimeException); com::sun::star::uno::Sequence< com::sun::star::uno::Reference< com::sun::star::task::XInteractionContinuation > > SAL_CALL getContinuations( ) throw (com::sun::star::uno::RuntimeException); bool approved() const; private: XInteractionApproveImpl* p1; XInteractionDisapproveImpl* p2; rtl::OUString m_aName; com::sun::star::uno::Sequence< com::sun::star::uno::Reference< com::sun::star::task::XInteractionContinuation > > m_aSeq; }; } #endif labora/lov-5.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2020-02-16GBUILD_TRACE, support for finding out where the build time is spentLuboš Luňák
2019-07-21tdf#125922 rename kde5 to kf5 + plasma5Jan-Marek Glogowski
2017-11-06QT5 fix build issues & cleanupsJan-Marek Glogowski
2017-11-06KF5 add QWidget to Kf5FrameJan-Marek Glogowski
2017-11-06KF5 initial VCL pluginJan-Marek Glogowski