/* -*- 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 _SV_ACCMGR_HXX #define _SV_ACCMGR_HXX #include #include class Accelerator; class KeyCode; typedef ::std::vector< Accelerator* > ImplAccelList; // -------------------- // - ImplAccelManager - // -------------------- class ImplAccelManager { private: ImplAccelList* mpAccelList; ImplAccelList* mpSequenceList; public: ImplAccelManager() { mpAccelList = NULL; mpSequenceList = NULL; } ~ImplAccelManager(); sal_Bool InsertAccel( Accelerator* pAccel ); void RemoveAccel( Accelerator* pAccel ); void EndSequence( sal_Bool bCancel = sal_False ); void FlushAccel() { EndSequence( sal_True ); } sal_Bool IsAccelKey( const KeyCode& rKeyCode, sal_uInt16 nRepeat ); }; #endif // _SV_ACCMGR_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2015-08-31sd: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe
2015-05-05loplugin:staticmethodsNoel Grandin
2015-04-16Revert "make more classes dllpublic"David Tardon
2015-04-16fix windows buildDavid Tardon
2015-04-16make more classes dllpublicDavid Tardon
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
2015-01-29callcatcher: large newly detected unused methods post de-virtualizationCaolán McNamara
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin
2014-09-18fdo#82577: Handle FontNoel Grandin
2014-08-18Partial revert of d4cf8c2518c77631f91db8564bf3a506f0ab8e70Stephan Bergmann
2014-08-18Generally better to have DLLPUBLIC class with some DLLPRIVATE membersStephan Bergmann
2014-06-13SdStyleSheetPool::GetBulletFont can be staticStephan Bergmann
2014-06-13Resolves: fdo#78151 change style on toggling bullets on master page outlinersCaolán McNamara
2014-04-24sd: sal_Bool->boolNoel Grandin
2014-04-14typo: givin -> givenThomas Arnhold
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
2014-02-21callcatcher: update unused codeCaolán McNamara
2014-02-18callcatcher: update unused code listsCaolán McNamara
2014-02-13n#757432: Styles (rename &) copy to different decks.Muthu Subramanian
2013-10-23fixincludeguards.sh: sdThomas Arnhold
2013-09-08String to OUStringThomas Arnhold
2013-07-07module svl: all String and some bool and related clean-upNorbert Thiebaud
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
2013-03-01translation of German comments of the files in sd/inc/Urs Fässler
2013-01-22rhbz#760765 copy custom styles on copy & pasteDavid Tardon
2012-11-28re-base on ALv2 code. Includes:Michael Meeks