/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #ifndef INCLUDED_SVTOOLS_JAVAINTERACTIONHANDLER_HXX #define INCLUDED_SVTOOLS_JAVAINTERACTIONHANDLER_HXX #include #include #include namespace com :: sun :: star :: task { class XInteractionRequest; } #define JAVA_INTERACTION_HANDLER_NAME "java-vm.interaction-handler" namespace svt { // We cannot derive from cppu::WeakImplHelper because we would export the inline //generated class. This conflicts with other libraries if they use the same inline //class. class SVT_DLLPUBLIC JavaInteractionHandler final : public css::task::XInteractionHandler { public: JavaInteractionHandler(); // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override; virtual void SAL_CALL acquire() throw() override; virtual void SAL_CALL release() throw() override; // XCurrentContext virtual void SAL_CALL handle( const css::uno::Reference< css::task::XInteractionRequest >& Request ) override; private: oslInterlockedCount m_aRefCount; JavaInteractionHandler(JavaInteractionHandler const&) = delete; JavaInteractionHandler& operator = (JavaInteractionHandler const &) = delete; SVT_DLLPRIVATE virtual ~JavaInteractionHandler(); }; } #endif // _DESKTOP_JAVAINTERACTION_HXX_ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ distro/collabora/cd-5.3-3.4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sax
AgeCommit message (Expand)Author
2015-09-29sax: remove obsolete XML_UNICODE codeMichael Stahl
2015-09-17boost->stdCaolán McNamara
2015-08-31loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann
2015-08-27sax: tdf#88206 replace cppu::WeakImplHelper*Takeshi Abe
2015-08-27Clean up emptyStringStephan Bergmann
2015-08-22tdf#39440 reduce scope of local variablesMichael Weghorn
2015-08-11loplugin: defaultparamsNoel Grandin
2015-08-03new loplugin: refcountingNoel Grandin
2015-07-27inline a bunch of use-once macrosNoel Grandin
2015-07-18sax: convert MergeMarksEnum to enum classMichael Stahl
2015-07-18sax, sw: try to make that maMarkStack easier to understandMichael Stahl
2015-07-13Make content of OSL_ASSERT, DBG_ASSERT, etc. visiblie in non-debug buildsStephan Bergmann
2015-07-06loplugin:unusedmethods sax,shell,stoc,basegfxNoel Grandin
2015-07-04WaE do not us #if for DB_UTIL but #ifdefNorbert Thiebaud
2015-07-04sax: FastSaxSerializer well-formed element test in presence of ...Michael Stahl
2015-07-04tdf#91378: sax, oox: avoid sending empty strings to character callbacksMichael Stahl
2015-07-03Revert "loplugin:unusedmethods sax,shell,stoc,basegfx"Michael Stahl
2015-07-03loplugin:unusedmethods sax,shell,stoc,basegfxNoel Grandin
2015-06-25tdf#91378-Empty Custom Properties are lost while saving in .pptx formatHeena Gupta
2015-06-17Replace boost::scoped_array<T> with std::unique_ptr<T[]>Takeshi Abe
2015-06-15remove unnecessary check for null when calling deleteNoel Grandin
2015-06-15cppcheck:redundantAssignmentNoel Grandin
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
2015-05-10cppcheck: noExplicitConstructorCaolán McNamara
2015-04-29cppcheck: throwInNoexceptFunctionCaolán McNamara
2015-04-22Various #include <sal/log.hxx> fixupsStephan Bergmann
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
2015-04-11Show duplicate attributeJulien Nabet
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
2015-03-27loplugin:staticfunctionNoel Grandin