summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-08-06 19:46:05 +0200
committerJan Holesovsky <kendy@suse.cz>2013-08-06 19:56:30 +0200
commit9281fc72e7c45c8080a0373449191d73c26e3a08 (patch)
tree79b65a542fcf2efc800d15e09828dece7911e8e6 /include
parentb60f6da2e13706dddc42d1045af95ad633e1829f (diff)
startcenter: Rename DropTargetListener to OpenFileTargetListener, ...
...move it to svtools, and kill the cut'n'pasted version. Change-Id: Ifacf110ff08b359bd0f611dff20b3c5142e6bcc8
Diffstat (limited to 'include')
-rw-r--r--include/svtools/openfiledroptargetlistener.hxx (renamed from include/sfx2/droptargetlistener.hxx)16
1 files changed, 9 insertions, 7 deletions
diff --git a/include/sfx2/droptargetlistener.hxx b/include/svtools/openfiledroptargetlistener.hxx
index 102a39353fbd..ef03fb079371 100644
--- a/include/sfx2/droptargetlistener.hxx
+++ b/include/svtools/openfiledroptargetlistener.hxx
@@ -17,8 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef _SXF_DROPTARGETLISTENER_HXX
-#define _SXF_DROPTARGETLISTENER_HXX
+#ifndef SVTOOLS_DROPTARGETLISTENER_HXX
+#define SVTOOLS_DROPTARGETLISTENER_HXX
+
+#include <svtools/svtdllapi.h>
#include <com/sun/star/datatransfer/dnd/XDropTargetListener.hpp>
#include <com/sun/star/frame/XFrame.hpp>
@@ -28,7 +30,7 @@
#include <sot/exchange.hxx>
#include <tools/string.hxx>
-class DropTargetListener : public ::cppu::WeakImplHelper1< ::com::sun::star::datatransfer::dnd::XDropTargetListener >
+class SVT_DLLPUBLIC OpenFileDropTargetListener : public ::cppu::WeakImplHelper1< ::com::sun::star::datatransfer::dnd::XDropTargetListener >
{
//___________________________________________
// member
@@ -45,9 +47,9 @@ class DropTargetListener : public ::cppu::WeakImplHelper1< ::com::sun::star::dat
// c++ interface
public:
- DropTargetListener( const css::uno::Reference< css::uno::XComponentContext >& xContext ,
+ OpenFileDropTargetListener( const css::uno::Reference< css::uno::XComponentContext >& xContext ,
const css::uno::Reference< css::frame::XFrame >& xFrame );
- ~DropTargetListener( );
+ ~OpenFileDropTargetListener( );
//___________________________________________
// uno interface
@@ -72,8 +74,8 @@ class DropTargetListener : public ::cppu::WeakImplHelper1< ::com::sun::star::dat
sal_Bool implts_IsDropFormatSupported( SotFormatStringId nFormat );
void implts_OpenFile ( const String& rFilePath );
-}; // class DropTargetListener
+};
-#endif // _SXF_DROPTARGETLISTENER_HXX
+#endif // SVTOOLS_DROPTARGETLISTENER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */