From 706be217a77d5951f02b486b8a57f20b1d061fe2 Mon Sep 17 00:00:00 2001 From: Jim Raykowski Date: Wed, 25 Dec 2019 22:47:16 -0900 Subject: Display menu item keyboard shortcuts in toolbar menu Change-Id: I288d4850f9a8e9ac51dfefddff7a2a7d359178c3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85832 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas Reviewed-by: Jim Raykowski --- include/vcl/commandinfoprovider.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/vcl/commandinfoprovider.hxx b/include/vcl/commandinfoprovider.hxx index 5327434cb168..d4ae3a008bd2 100644 --- a/include/vcl/commandinfoprovider.hxx +++ b/include/vcl/commandinfoprovider.hxx @@ -21,6 +21,7 @@ #include #include +#include namespace com { namespace sun { namespace star { namespace frame { class XFrame; } } } } @@ -72,6 +73,9 @@ namespace vcl { namespace CommandInfoProvider { VCL_DLLPUBLIC OUString GetCommandShortcut (const OUString& rCommandName, const css::uno::Reference& rxFrame); + VCL_DLLPUBLIC KeyCode GetCommandKeyCodeShortcut (const OUString& rCommandName, + const css::uno::Reference& rxFrame); + VCL_DLLPUBLIC OUString GetRealCommandForCommand(const css::uno::Sequence& rProperties); VCL_DLLPUBLIC css::uno::Reference GetXGraphicForCommand( -- cgit