/* -*- 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_VCL_UNOWRAP_HXX #define INCLUDED_VCL_UNOWRAP_HXX #include #include class XWindowPeer; class XToolkit; class EventList; namespace vcl { class Window; } class OutputDevice; class MouseEvent; class CommandEvent; class KeyEvent; namespace tools { class Rectangle; } class Menu; namespace com { namespace sun { namespace star { namespace awt { class XGraphics; class XToolkit; class XWindowPeer; } namespace lang { class XMultiServiceFactory; } } } } namespace com { namespace sun { namespace star { namespace accessibility { class XAccessible; }}}} class VCL_DLLPUBLIC UnoWrapperBase { public: virtual void Destroy() = 0; // Toolkit virtual css::uno::Reference< css::awt::XToolkit > GetVCLToolkit() = 0; // Graphics virtual css::uno::Reference< css::awt::XGraphics > CreateGraphics( OutputDevice* pOutDev ) = 0; virtual void ReleaseAllGraphics( OutputDevice* pOutDev ) = 0; // Window virtual css::uno::Reference< css::awt::XWindowPeer> GetWindowInterface( vcl::Window* pWindow ) = 0; virtual void SetWindowInterface( vcl::Window* pWindow, css::uno::Reference< css::awt::XWindowPeer > xIFace ) = 0; virtual void WindowDestroyed( vcl::Window* pWindow ) = 0; // Accessibility virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible( Menu* pMenu, bool bIsMenuBar ) = 0; protected: ~UnoWrapperBase() {} }; #endif // INCLUDED_VCL_UNOWRAP_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2019-10-08loplugin:redundantpointerops simplify *p.get()Noel Grandin
2019-10-06Related: tdf#127935 set default activate handler to toggle row expansionCaolán McNamara
2019-04-02drop some unneeded includesCaolán McNamara
2019-03-16weld ScAutoFormatDlgCaolán McNamara
2019-03-11tdf#42949 Fix IWYU warnings in sc/source/ui/[f-o]*/*cxxGabor Kelemen
2019-01-16pass ScAutoFormatData around with unique_ptrNoel Grandin
2019-01-08Simplify containers iterations in sc/source/ui/[f-u]*Arkadiy Illarionov
2018-11-16entirity of writer rebuilding when vcl widget headers changeCaolán McNamara
2018-05-12Replace ScGlobal::GetRscString with simple ScResId callsGabor Kelemen
2018-04-01remove unused processfactory.hxx includesJochen Nitschke
2018-03-01weld ScStringInputDlg to native dialogCaolán McNamara
2018-02-26convert remaining ErrorBox to weld::MessageDialogCaolán McNamara
2018-02-22weld native message dialogsCaolán McNamara
2017-10-23loplugin:includeform: scStephan Bergmann
2017-09-21Rename GetSelectEntryPos -> GetSelectedEntryPosSamuel Mehrbrodt
2017-09-21Rename GetSelectEntry -> GetSelectedEntrySamuel Mehrbrodt
2017-08-29loplugin:constparam in sc part9Noel Grandin
2017-08-23convert message box style bits to scoped enumNoel Grandin
2017-07-21migrate to boost::gettextCaolán McNamara
2017-07-14use more OUString::operator== in scNoel Grandin
2017-04-13Removed duplicated includesAndrea Gelmini
2017-02-16miscdlgs.hrc is just one line that includes another headerCaolán McNamara
2017-02-16split sc.hrc into definitely resources and maybe slotsCaolán McNamara
2016-12-21convert VclButtonsType to scoped enumNoel Grandin
2016-10-05Remove _TYPED suffix from tools/link.hxx macrosStephan Bergmann
2016-08-25tdf#100726 - Improve readability of OUString concatanationsGökhan Gurbetoğlu
2016-07-26masses of MessBoxes not being disposed promptlyCaolán McNamara
2016-06-01Convert VCL_MESSAGE to scoped enumNoel Grandin
2015-12-15sc: replace boost::ptr_map with std::map<std::unique_ptr>Michael Stahl
2015-10-12convert Link<> to typedNoel Grandin
2015-09-18boost->stdCaolán McNamara
2015-09-17revert for mac and win unit case crashes after boost->stdCaolán McNamara
2015-09-17boost->stdCaolán McNamara
2015-09-17convert Link<> to typedNoel Grandin
2015-08-26Convert vcl Button Link<> click handler to typed Link<Button*,void>Noel Grandin
2015-06-06Apply new VclPtr clang plugin to catch potential problems.Noel Grandin
2015-06-03tdf#91726: AutoFormat: Crash when using an existing nameJulien Nabet
2015-05-29tdf#91702 - fix stack-based MessBox allocation.Michael Meeks
2015-04-29Remove unnecessary IMPL_LINK[_NOARG]_INLINE_START/ENDStephan Bergmann
2015-04-10first half of non-scriptable, Instance constructor conversion.Michael Meeks
2015-04-10vclwidget: fix more places that should be wrapping in VclPtrNoel Grandin
2015-04-10vclwidget: only call dispose() onceNoel Grandin
2015-04-10vclwidget: change all vcl::window fields to be wrapped in VclPtrNoel Grandin