mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 10:20:07 +00:00
0d4f827de8
Tuck the GdkWin32Clipdrop that we create in our GdkWin32Display, and tuck the other associated global variables into GdkWin32ClipDrop and GdkWin32Drag, as appropriate. Also, since we are already registering "GDK_WORKER_THREAD_WAKEUP" as our custom message to look for in our DND/clipboard ops, only register it once, not twice, as it's not really necessary to do so since RegisterWindowMessage() returns the same value for the same identifier that is being used.,
41 lines
1.5 KiB
C
41 lines
1.5 KiB
C
/* GDK - The GIMP Drawing Kit
|
|
* Copyright (C) 2017 Red Hat, Inc.
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "gdk/gdkclipboard.h"
|
|
#include "gdkprivate-win32.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
#define GDK_TYPE_WIN32_CLIPBOARD (gdk_win32_clipboard_get_type ())
|
|
#define GDK_WIN32_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GDK_TYPE_WIN32_CLIPBOARD, GdkWin32Clipboard))
|
|
#define GDK_IS_WIN32_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GDK_TYPE_WIN32_CLIPBOARD))
|
|
|
|
typedef struct _GdkWin32Clipboard GdkWin32Clipboard;
|
|
|
|
GType gdk_win32_clipboard_get_type (void) G_GNUC_CONST;
|
|
|
|
GdkClipboard * gdk_win32_clipboard_new (GdkDisplay *display);
|
|
|
|
void gdk_win32_clipboard_claim_remote (GdkWin32Clipboard *cb);
|
|
|
|
GdkWin32Clipdrop * gdk_win32_clipboard_get_clipdrop (GdkClipboard *cb);
|
|
|
|
G_END_DECLS
|
|
|