summaryrefslogtreecommitdiff
path: root/vcl/inc/accel.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-08-04 20:18:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-08-05 11:50:41 +0200
commit7a8d7c9bd97dd52bde2182e395167f2e3cc9fda6 (patch)
treef13d4a892db4b7a4b4277c701254afdfa5da0cf9 /vcl/inc/accel.hxx
parentfbbe7c9e3ef9e09d4ddf9f0d1f54843294643620 (diff)
merge accel.h and accel.hxx now both are vcl internals
Change-Id: If73604d1e329f089a357021bdce2163f6f059160 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120014 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/inc/accel.hxx')
-rw-r--r--vcl/inc/accel.hxx15
1 files changed, 14 insertions, 1 deletions
diff --git a/vcl/inc/accel.hxx b/vcl/inc/accel.hxx
index 53677cfcfb7c..fc763bd58f3d 100644
--- a/vcl/inc/accel.hxx
+++ b/vcl/inc/accel.hxx
@@ -26,9 +26,20 @@
#include <memory>
class ImplAccelData;
-class ImplAccelEntry;
class CommandEvent;
+class Accelerator;
+
+class ImplAccelEntry
+{
+public:
+ sal_uInt16 mnId;
+ vcl::KeyCode maKeyCode;
+ Accelerator* mpAccel;
+ Accelerator* mpAutoAccel;
+ bool mbEnabled;
+};
+
class Accelerator
{
friend class ImplAccelManager;
@@ -73,4 +84,6 @@ public:
Accelerator& operator=( const Accelerator& rAccel );
};
+bool ImplGetKeyCode( KeyFuncType eFunc, sal_uInt16& rCode1, sal_uInt16& rCode2, sal_uInt16& rCode3, sal_uInt16& rCode4 );
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */