summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-11-16 15:41:27 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-11-16 15:49:46 +0100
commitd8fc06d233f189341b3f9acc20253e371198e068 (patch)
tree763854ea14d181cd82244a7917849fee416e6ec8 /include
parent40fa83871e18bf7ff54f853e6b665f207ee8fb78 (diff)
Move functionality to retrieve command image to CommandInfoProvider
Change-Id: I79c22e0507c5eba8b5e28721de3279131aececc9
Diffstat (limited to 'include')
-rw-r--r--include/vcl/commandinfoprovider.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/vcl/commandinfoprovider.hxx b/include/vcl/commandinfoprovider.hxx
index 91d98b7c5fb0..0dc69f8eed77 100644
--- a/include/vcl/commandinfoprovider.hxx
+++ b/include/vcl/commandinfoprovider.hxx
@@ -21,6 +21,7 @@
#include <vcl/dllapi.h>
#include <vcl/keycod.hxx>
+#include <vcl/image.hxx>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
@@ -76,7 +77,12 @@ public:
/** Returns the shortcut for a command in human-readable form */
OUString GetCommandShortcut (const OUString& rCommandName,
- const css::uno::Reference<css::frame::XFrame>& rxFrame);
+ const css::uno::Reference<css::frame::XFrame>& rxFrame);
+
+ Image GetImageForCommand(
+ const OUString& rsCommandName,
+ bool bLarge,
+ const css::uno::Reference<css::frame::XFrame>& rxFrame);
/** Do not call. Should be part of a local and hidden interface.
*/