tdf#151341 Use lzfse compression instead of bzip2
[LibreOffice.git] / vcl / inc / dndhelper.hxx
blobf79382f4ee3aab424ca860a0b521aeccd63cf205
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #pragma once
12 #include <sal/types.h>
13 #include <vcl/dllapi.h>
14 #include <com/sun/star/uno/Reference.hxx>
16 namespace com::sun::star::lang
18 class XInitialization;
20 namespace com::sun::star::uno
22 class XInterface;
25 namespace vcl
27 // Ole and X11 refer to the UNO DnD interface names and their expected XInitialization arguments.
29 enum class DragOrDrop
31 Drag,
32 Drop
34 VCL_DLLPUBLIC css::uno::Reference<css::uno::XInterface>
35 OleDnDHelper(const css::uno::Reference<css::lang::XInitialization>&, sal_IntPtr pWin, DragOrDrop);
37 VCL_DLLPUBLIC css::uno::Reference<css::uno::XInterface>
38 X11DnDHelper(const css::uno::Reference<css::lang::XInitialization>&, sal_IntPtr pWin);
41 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */