summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/backingwindow.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-06 13:55:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-06 13:58:04 +0100
commite7dd69d97af1e12b15fd82eaea2e2b51f9dca40b (patch)
tree22867fcdf7d2f9b94e11ae1a8f08fe39d9a720fa /sfx2/source/dialog/backingwindow.hxx
parentf96771165ea145a759f1bab76cd34bb70def04f6 (diff)
move backing component dnd support into the large thumbnail areas
of the backing window Change-Id: Icf399a8834a25de43909769be08854134991885a
Diffstat (limited to 'sfx2/source/dialog/backingwindow.hxx')
-rw-r--r--sfx2/source/dialog/backingwindow.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sfx2/source/dialog/backingwindow.hxx b/sfx2/source/dialog/backingwindow.hxx
index 6f6dffac35ba..02fcbf379e17 100644
--- a/sfx2/source/dialog/backingwindow.hxx
+++ b/sfx2/source/dialog/backingwindow.hxx
@@ -34,6 +34,7 @@
#include <svtools/acceleratorexecute.hxx>
#include <unotools/moduleoptions.hxx>
+#include <com/sun/star/datatransfer/dnd/XDropTarget.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/frame/XDispatchProvider.hpp>
#include <com/sun/star/frame/XDesktop.hpp>
@@ -50,6 +51,8 @@ class BackingWindow
com::sun::star::uno::Reference<com::sun::star::frame::XDispatchProvider > mxDesktopDispatchProvider;
com::sun::star::uno::Reference<com::sun::star::frame::XFrame> mxFrame;
com::sun::star::uno::Reference< com::sun::star::frame::XDesktop2 > mxDesktop;
+ /** helper for drag&drop. */
+ com::sun::star::uno::Reference< com::sun::star::datatransfer::dnd::XDropTargetListener > mxDropTargetListener;
PushButton* mpOpenButton;
PushButton* mpTemplateButton;
@@ -97,6 +100,8 @@ class BackingWindow
TemplateLocalView* mpImpressTemplateThumbnails;
TemplateLocalView* mpDrawTemplateThumbnails;
+ std::vector<Window*> maDndWindows;
+
Rectangle maStartCentButtons;
bool mbInitControls;