Remove unused headers found by bin/find-unusedheaders.sh
Change-Id: I859138dee575ef7fd76db28b619c673782914782 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161235 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
This commit is contained in:
parent
f8cd283749
commit
9f2bcf3359
13 changed files with 0 additions and 614 deletions
|
@ -1,30 +0,0 @@
|
|||
/* -*- 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/.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_TOOLS_SIMD_HXX
|
||||
#define INCLUDED_TOOLS_SIMD_HXX
|
||||
|
||||
namespace simd
|
||||
{
|
||||
template <typename T, unsigned int N> inline bool isAligned(const T* pointer)
|
||||
{
|
||||
return 0 == (uintptr_t(pointer) % N);
|
||||
}
|
||||
|
||||
template <typename T> inline T roundDown(T value, unsigned int multiple)
|
||||
{
|
||||
return value & ~(multiple - 1);
|
||||
}
|
||||
|
||||
} // end namespace simd
|
||||
|
||||
#endif // INCLUDED_TOOLS_SIMD_HXX
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -1,45 +0,0 @@
|
|||
/* -*- 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_SAL_QA_OSTRINGBUFFER_RTL_STRING_UTILS_CONST_H
|
||||
#define INCLUDED_SAL_QA_OSTRINGBUFFER_RTL_STRING_UTILS_CONST_H
|
||||
|
||||
#include <sal/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
static const sal_Int32 kErrCompareAStringToUString = -2;
|
||||
static const sal_Int32 kErrCompareNAStringToUString = -3;
|
||||
static const sal_Int32 kErrCompareAStringToRTLUString = -4;
|
||||
static const sal_Int32 kErrCompareNAStringToRTLUString = -5;
|
||||
static const sal_Int32 kErrAStringToByteStringCompare = -6;
|
||||
static const sal_Int32 kErrAStringToByteStringNCompare = -7;
|
||||
static const sal_Int32 kErrCompareAStringToString = -8;
|
||||
static const sal_Int32 kErrCompareNAStringToString = -9;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // INCLUDED_SAL_QA_OSTRINGBUFFER_RTL_STRING_UTILS_CONST_H
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -1,31 +0,0 @@
|
|||
/* -*- 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 .
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
namespace sd::sidebar
|
||||
{
|
||||
class IDisposable
|
||||
{
|
||||
public:
|
||||
virtual ~IDisposable();
|
||||
};
|
||||
|
||||
} // end of namespace ::sd::sidebar
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -1,31 +0,0 @@
|
|||
/* -*- 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 .
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
namespace sd::sidebar
|
||||
{
|
||||
class ISidebarReceiver
|
||||
{
|
||||
public:
|
||||
virtual ~ISidebarReceiver();
|
||||
};
|
||||
|
||||
} // end of namespace ::sd::sidebar
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -1,28 +0,0 @@
|
|||
/* -*- 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/.
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_SFX2_SOURCE_INC_TEMPLATESEARCHVIEWITEM_HXX
|
||||
#define INCLUDED_SFX2_SOURCE_INC_TEMPLATESEARCHVIEWITEM_HXX
|
||||
|
||||
#include <templateviewitem.hxx>
|
||||
|
||||
struct TemplateSearchViewItem final : public TemplateViewItem
|
||||
{
|
||||
TemplateSearchViewItem(ThumbnailView& rView, sal_uInt16 nId)
|
||||
: TemplateViewItem(rView, nId)
|
||||
, mnAssocId(0)
|
||||
{
|
||||
}
|
||||
|
||||
sal_uInt16 mnAssocId; //Associated item id to the TemplateViews
|
||||
};
|
||||
|
||||
#endif // INCLUDED_SFX2_SOURCE_INC_TEMPLATESEARCHVIEWITEM_HXX
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -5264,7 +5264,6 @@ include/framework/desktop.hxx
|
|||
include/framework/documentundoguard.hxx
|
||||
include/framework/framecontainer.hxx
|
||||
include/framework/framelistanalyzer.hxx
|
||||
include/framework/gate.hxx
|
||||
include/framework/generictoolbarcontroller.hxx
|
||||
include/framework/imutex.hxx
|
||||
include/framework/sfxhelperfunctions.hxx
|
||||
|
@ -7552,7 +7551,6 @@ sal/osl/w32/time.cxx
|
|||
sal/qa/ByteSequence/ByteSequence.cxx
|
||||
sal/qa/OStringBuffer/rtl_OStringBuffer.cxx
|
||||
sal/qa/OStringBuffer/rtl_String_Const.h
|
||||
sal/qa/OStringBuffer/rtl_String_Utils_Const.h
|
||||
sal/qa/inc/valueequal.hxx
|
||||
sal/qa/osl/condition/osl_Condition.cxx
|
||||
sal/qa/osl/file/osl_File.cxx
|
||||
|
@ -14124,7 +14122,6 @@ vcl/headless/svpvd.cxx
|
|||
vcl/inc/IconThemeSelector.hxx
|
||||
vcl/inc/IPrioritable.hxx
|
||||
vcl/inc/ResampleKernel.hxx
|
||||
vcl/inc/WidgetThemeLibraryTypes.hxx
|
||||
vcl/inc/bitmap/bmpfast.hxx
|
||||
vcl/inc/accel.hxx
|
||||
vcl/inc/accmgr.hxx
|
||||
|
@ -15150,7 +15147,6 @@ writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
|
|||
writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
|
||||
writerfilter/source/ooxml/OOXMLFastDocumentHandler.cxx
|
||||
writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx
|
||||
writerfilter/source/ooxml/OOXMLFastHelper.hxx
|
||||
writerfilter/source/ooxml/OOXMLParserState.cxx
|
||||
writerfilter/source/ooxml/OOXMLPropertySet.cxx
|
||||
writerfilter/source/ooxml/OOXMLStreamImpl.cxx
|
||||
|
|
|
@ -18,7 +18,6 @@ $(eval $(call gb_CppunitTest_add_exception_objects,svtools_dialogs_test, \
|
|||
$(eval $(call gb_CppunitTest_use_sdk_api,svtools_dialogs_test))
|
||||
|
||||
$(eval $(call gb_CppunitTest_set_include,svtools_dialogs_test,\
|
||||
-I$(SRCDIR)/svtools/source/inc \
|
||||
-I$(SRCDIR)/svtools/inc \
|
||||
$$(INCLUDE) \
|
||||
))
|
||||
|
|
|
@ -14,7 +14,6 @@ $(eval $(call gb_Executable_set_targettype_gui,langsupport,YES))
|
|||
$(eval $(call gb_Executable_set_include,langsupport,\
|
||||
$$(INCLUDE) \
|
||||
-I$(SRCDIR)/svtools/inc \
|
||||
-I$(SRCDIR)/svtools/source/inc \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_external,langsupport,boost_headers))
|
||||
|
|
|
@ -31,7 +31,6 @@ $(eval $(call gb_Library_use_sdk_api,svt))
|
|||
|
||||
$(eval $(call gb_Library_set_include,svt,\
|
||||
$$(INCLUDE) \
|
||||
-I$(SRCDIR)/svtools/source/inc \
|
||||
-I$(SRCDIR)/svtools/inc \
|
||||
))
|
||||
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
/* -*- 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 .
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace com::sun::star::util
|
||||
{
|
||||
class XNumberFormatsSupplier;
|
||||
}
|
||||
|
||||
class SvNumberFormatsSupplierObj;
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -1,26 +0,0 @@
|
|||
/* -*- 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_SW_INC_SWCOMMANDS_H
|
||||
#define INCLUDED_SW_INC_SWCOMMANDS_H
|
||||
|
||||
#define CMD_FN_READONLY_SELECTION_MODE ".uno:SelectTextMode"
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -1,235 +0,0 @@
|
|||
/* -*- 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/.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_VCL_INC_WIDGETTHEMETYPES_HXX
|
||||
#define INCLUDED_VCL_INC_WIDGETTHEMETYPES_HXX
|
||||
|
||||
#include <o3tl/typed_flags_set.hxx>
|
||||
|
||||
/**
|
||||
* These types are all based on the supported variants
|
||||
* vcl/salnativewidgets.hxx and must be kept in-sync.
|
||||
**/
|
||||
|
||||
/* Control Types:
|
||||
*
|
||||
* Specify the overall, whole control
|
||||
* type (as opposed to parts of the
|
||||
* control if it were composite).
|
||||
*/
|
||||
|
||||
enum class ControlType {
|
||||
// for use in general purpose ImplControlValue
|
||||
Generic = 0,
|
||||
// Normal PushButton/Command Button
|
||||
Pushbutton = 1,
|
||||
// Normal single radio button
|
||||
Radiobutton = 2,
|
||||
// Normal single checkbox
|
||||
Checkbox = 10,
|
||||
// Combobox, i.e. a ListBox
|
||||
// that allows data entry by user
|
||||
Combobox = 20,
|
||||
// Control that allows text entry
|
||||
Editbox = 30,
|
||||
// Control that allows text entry, but without the usual border
|
||||
// Has to be handled separately, because this one cannot handle
|
||||
// ControlPart::HasBackgroundTexture, which is drawn in the edit box'es
|
||||
// border window.
|
||||
EditboxNoBorder = 31,
|
||||
// Control that allows text entry
|
||||
// ( some systems distinguish between single and multi line edit boxes )
|
||||
MultilineEditbox = 32,
|
||||
// Control that pops up a menu,
|
||||
// but does NOT allow data entry
|
||||
Listbox = 35,
|
||||
// An edit field together with two little
|
||||
// buttons on the side (aka spin field)
|
||||
Spinbox = 40,
|
||||
// Two standalone spin buttons
|
||||
// without an edit field
|
||||
SpinButtons = 45,
|
||||
// A single tab
|
||||
TabItem = 50,
|
||||
// The border around a tab area,
|
||||
// but without the tabs themselves.
|
||||
// May have a gap at the top for
|
||||
// the active tab
|
||||
TabPane = 55,
|
||||
// The background to the tab area
|
||||
TabHeader = 56,
|
||||
// Background of a Tab Pane
|
||||
TabBody = 57,
|
||||
// Normal scrollbar, including
|
||||
// all parts like slider, buttons
|
||||
Scrollbar = 60,
|
||||
Slider = 65,
|
||||
// A separator line
|
||||
Fixedline = 80,
|
||||
// A toolbar control with buttons and a grip
|
||||
Toolbar = 100,
|
||||
// The menubar
|
||||
Menubar = 120,
|
||||
// popup menu
|
||||
MenuPopup = 121,
|
||||
Progress = 131,
|
||||
// Progress bar for the intro window
|
||||
// (aka splash screen), in case some
|
||||
// wants native progress bar in the
|
||||
// application but not for the splash
|
||||
// screen (used in desktop/)
|
||||
IntroProgress = 132,
|
||||
// tool tips
|
||||
Tooltip = 140,
|
||||
// to draw the implemented theme
|
||||
WindowBackground = 150,
|
||||
//to draw border of frames natively
|
||||
Frame = 160,
|
||||
// for nodes in listviews
|
||||
// used in svtools/source/contnr/svtreebx.cxx
|
||||
ListNode = 170,
|
||||
// nets between elements of listviews
|
||||
// with nodes
|
||||
ListNet = 171,
|
||||
// for list headers
|
||||
ListHeader = 172,
|
||||
};
|
||||
|
||||
|
||||
/* Control Parts:
|
||||
*
|
||||
* Uniquely identify a part of a control,
|
||||
* for example the slider of a scroll bar.
|
||||
*/
|
||||
|
||||
enum class ControlPart
|
||||
{
|
||||
NONE = 0,
|
||||
Entire = 1,
|
||||
ListboxWindow = 5, // the static listbox window containing the list
|
||||
Button = 100,
|
||||
ButtonUp = 101,
|
||||
ButtonDown = 102, // Also for ComboBoxes/ListBoxes
|
||||
ButtonLeft = 103,
|
||||
ButtonRight = 104,
|
||||
AllButtons = 105,
|
||||
SeparatorHorz = 106,
|
||||
SeparatorVert = 107,
|
||||
TrackHorzLeft = 200,
|
||||
TrackVertUpper = 201,
|
||||
TrackHorzRight = 202,
|
||||
TrackVertLower = 203,
|
||||
TrackHorzArea = 204,
|
||||
TrackVertArea = 205,
|
||||
Arrow = 220,
|
||||
ThumbHorz = 210, // Also used as toolbar grip
|
||||
ThumbVert = 211, // Also used as toolbar grip
|
||||
MenuItem = 250,
|
||||
MenuItemCheckMark = 251,
|
||||
MenuItemRadioMark = 252,
|
||||
Separator = 253,
|
||||
SubmenuArrow = 254,
|
||||
|
||||
/* #i77549#
|
||||
HACK: for scrollbars in case of thumb rect, page up and page down rect we
|
||||
abuse the HitTestNativeScrollbar interface. All theming engines but aqua
|
||||
are actually able to draw the thumb according to our internal representation.
|
||||
However aqua draws a little outside. The canonical way would be to enhance the
|
||||
HitTestNativeScrollbar passing a ScrollbarValue additionally so all necessary
|
||||
information is available in the call.
|
||||
.
|
||||
However since there is only this one small exception we will deviate a little and
|
||||
instead pass the respective rect as control region to allow for a small correction.
|
||||
|
||||
So all places using HitTestNativeScrollbar on ControlPart::ThumbHorz, ControlPart::ThumbVert,
|
||||
ControlPart::TrackHorzLeft, ControlPart::TrackHorzRight, ControlPart::TrackVertUpper, ControlPart::TrackVertLower
|
||||
do not use the control rectangle as region but the actual part rectangle, making
|
||||
only small deviations feasible.
|
||||
*/
|
||||
|
||||
/** The edit field part of a control, e.g. of the combo box.
|
||||
|
||||
Currently used just for combo boxes and just for GetNativeControlRegion().
|
||||
It is valid only if GetNativeControlRegion() supports ControlPart::ButtonDown as
|
||||
well.
|
||||
*/
|
||||
SubEdit = 300,
|
||||
|
||||
// For controls that require the entire background
|
||||
// to be drawn first, and then other pieces over top.
|
||||
// (GTK+ scrollbars for example). Control region passed
|
||||
// in to draw this part is expected to be the entire
|
||||
// area of the control.
|
||||
// A control may respond to one or both.
|
||||
DrawBackgroundHorz = 1000,
|
||||
DrawBackgroundVert = 1001,
|
||||
|
||||
// GTK+ also draws tabs right->left since there is a
|
||||
// hardcoded 2 pixel overlap between adjacent tabs
|
||||
TabsDrawRtl = 3000,
|
||||
|
||||
// For themes that do not want to have the focus
|
||||
// rectangle part drawn by VCL but take care of the
|
||||
// whole inner control part by themselves
|
||||
// eg, listboxes or comboboxes or spinbuttons
|
||||
HasBackgroundTexture = 4000,
|
||||
|
||||
// For scrollbars that have 3 buttons (most KDE themes)
|
||||
HasThreeButtons = 5000,
|
||||
|
||||
BackgroundWindow = 6000,
|
||||
BackgroundDialog = 6001,
|
||||
|
||||
//to draw natively the border of frames
|
||||
Border = 7000,
|
||||
|
||||
//to draw natively the focus rects
|
||||
Focus = 8000
|
||||
};
|
||||
|
||||
/* Control State:
|
||||
*
|
||||
* Specify how a particular part of the control
|
||||
* is to be drawn. Constants are bitwise OR-ed
|
||||
* together to compose a final drawing state.
|
||||
* A _disabled_ state is assumed by the drawing
|
||||
* functions until an ENABLED or HIDDEN is passed
|
||||
* in the ControlState.
|
||||
*/
|
||||
enum class ControlState {
|
||||
NONE = 0,
|
||||
ENABLED = 0x0001,
|
||||
FOCUSED = 0x0002,
|
||||
PRESSED = 0x0004,
|
||||
ROLLOVER = 0x0008,
|
||||
DEFAULT = 0x0020,
|
||||
SELECTED = 0x0040,
|
||||
DOUBLEBUFFERING = 0x4000, ///< Set when the control is painted using double-buffering via VirtualDevice.
|
||||
CACHING_ALLOWED = 0x8000, ///< Set when the control is completely visible (i.e. not clipped).
|
||||
};
|
||||
|
||||
template<> struct o3tl::typed_flags<ControlState>: o3tl::is_typed_flags<ControlState, 0xC06F> {};
|
||||
|
||||
/* ButtonValue:
|
||||
*
|
||||
* Identifies the tri-state value options
|
||||
* that buttons allow
|
||||
*/
|
||||
|
||||
enum class ButtonValue {
|
||||
DontKnow,
|
||||
On,
|
||||
Off,
|
||||
Mixed
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -1,152 +0,0 @@
|
|||
/* -*- 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 .
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
struct ACCESSIBLE_KEYSTROKE
|
||||
{
|
||||
short modifiers;
|
||||
short keyCode;
|
||||
char keyChar;
|
||||
short keyFunc;
|
||||
};
|
||||
|
||||
const short MODIFIER_SHIFT = 1;
|
||||
const short MODIFIER_CTRL = 2;
|
||||
const short MODIFIER_ALT = 4;
|
||||
|
||||
const short KEYCODE_NUM0 = 256;
|
||||
const short KEYCODE_NUM1 = 257;
|
||||
const short KEYCODE_NUM2 = 258;
|
||||
const short KEYCODE_NUM3 = 259;
|
||||
const short KEYCODE_NUM4 = 260;
|
||||
const short KEYCODE_NUM5 = 261;
|
||||
const short KEYCODE_NUM6 = 262;
|
||||
const short KEYCODE_NUM7 = 263;
|
||||
const short KEYCODE_NUM8 = 264;
|
||||
const short KEYCODE_NUM9 = 265;
|
||||
const short KEYCODE_A = 512;
|
||||
const short KEYCODE_B = 513;
|
||||
const short KEYCODE_C = 514;
|
||||
const short KEYCODE_D = 515;
|
||||
const short KEYCODE_E = 516;
|
||||
const short KEYCODE_F = 517;
|
||||
const short KEYCODE_G = 518;
|
||||
const short KEYCODE_H = 519;
|
||||
const short KEYCODE_I = 520;
|
||||
const short KEYCODE_J = 521;
|
||||
const short KEYCODE_K = 522;
|
||||
const short KEYCODE_L = 523;
|
||||
const short KEYCODE_M = 524;
|
||||
const short KEYCODE_N = 525;
|
||||
const short KEYCODE_O = 526;
|
||||
const short KEYCODE_P = 527;
|
||||
const short KEYCODE_Q = 528;
|
||||
const short KEYCODE_R = 529;
|
||||
const short KEYCODE_S = 530;
|
||||
const short KEYCODE_T = 531;
|
||||
const short KEYCODE_U = 532;
|
||||
const short KEYCODE_V = 533;
|
||||
const short KEYCODE_W = 534;
|
||||
const short KEYCODE_X = 535;
|
||||
const short KEYCODE_Y = 536;
|
||||
const short KEYCODE_Z = 537;
|
||||
const short KEYCODE_F1 = 768;
|
||||
const short KEYCODE_F2 = 769;
|
||||
const short KEYCODE_F3 = 770;
|
||||
const short KEYCODE_F4 = 771;
|
||||
const short KEYCODE_F5 = 772;
|
||||
const short KEYCODE_F6 = 773;
|
||||
const short KEYCODE_F7 = 774;
|
||||
const short KEYCODE_F8 = 775;
|
||||
const short KEYCODE_F9 = 776;
|
||||
const short KEYCODE_F10 = 777;
|
||||
const short KEYCODE_F11 = 778;
|
||||
const short KEYCODE_F12 = 779;
|
||||
const short KEYCODE_F13 = 780;
|
||||
const short KEYCODE_F14 = 781;
|
||||
const short KEYCODE_F15 = 782;
|
||||
const short KEYCODE_F16 = 783;
|
||||
const short KEYCODE_F17 = 784;
|
||||
const short KEYCODE_F18 = 785;
|
||||
const short KEYCODE_F19 = 786;
|
||||
const short KEYCODE_F20 = 787;
|
||||
const short KEYCODE_F21 = 788;
|
||||
const short KEYCODE_F22 = 789;
|
||||
const short KEYCODE_F23 = 790;
|
||||
const short KEYCODE_F24 = 791;
|
||||
const short KEYCODE_F25 = 792;
|
||||
const short KEYCODE_F26 = 793;
|
||||
const short KEYCODE_DOWN = 1024;
|
||||
const short KEYCODE_UP = 1025;
|
||||
const short KEYCODE_LEFT = 1026;
|
||||
const short KEYCODE_RIGHT = 1027;
|
||||
const short KEYCODE_HOME = 1028;
|
||||
const short KEYCODE_END = 1029;
|
||||
const short KEYCODE_PAGEUP = 1030;
|
||||
const short KEYCODE_PAGEDOWN = 1031;
|
||||
const short KEYCODE_RETURN = 1280;
|
||||
const short KEYCODE_ESCAPE = 1281;
|
||||
const short KEYCODE_TAB = 1282;
|
||||
const short KEYCODE_BACKSPACE = 1283;
|
||||
const short KEYCODE_SPACE = 1284;
|
||||
const short KEYCODE_INSERT = 1285;
|
||||
const short KEYCODE_DELETE = 1286;
|
||||
const short KEYCODE_ADD = 1287;
|
||||
const short KEYCODE_SUBTRACT = 1288;
|
||||
const short KEYCODE_MULTIPLY = 1289;
|
||||
const short KEYCODE_DIVIDE = 1290;
|
||||
const short KEYCODE_POINT = 1291;
|
||||
const short KEYCODE_COMMA = 1292;
|
||||
const short KEYCODE_LESS = 1293;
|
||||
const short KEYCODE_GREATER = 1294;
|
||||
const short KEYCODE_EQUAL = 1295;
|
||||
const short KEYCODE_OPEN = 1296;
|
||||
const short KEYCODE_CUT = 1297;
|
||||
const short KEYCODE_COPY = 1298;
|
||||
const short KEYCODE_PASTE = 1299;
|
||||
const short KEYCODE_UNDO = 1300;
|
||||
const short KEYCODE_REPEAT = 1301;
|
||||
const short KEYCODE_FIND = 1302;
|
||||
const short KEYCODE_PROPERTIES = 1303;
|
||||
const short KEYCODE_FRONT = 1304;
|
||||
const short KEYCODE_CONTEXTMENU = 1305;
|
||||
const short KEYCODE_HELP = 1306;
|
||||
|
||||
const short SHORTCUT_DONTKNOW = 0;
|
||||
const short NEW = 1;
|
||||
const short OPEN = 2;
|
||||
const short SAVE = 3;
|
||||
const short SAVEAS = 4;
|
||||
const short PRINT = 5;
|
||||
const short CLOSE = 6;
|
||||
const short QUIT = 7;
|
||||
const short CUT = 8;
|
||||
const short COPY = 9;
|
||||
const short PASTE = 10;
|
||||
const short UNDO = 11;
|
||||
const short REDO = 12;
|
||||
const short UNODELETE = 13;
|
||||
const short REPEAT = 14;
|
||||
const short FIND = 15;
|
||||
const short FINDBACKWARD = 16;
|
||||
const short PROPERTIES = 17;
|
||||
const short FRONT = 18;
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
Loading…
Reference in a new issue