Changeset 74411 in vbox for trunk/include/VBox
- Timestamp:
- Sep 21, 2018 3:36:16 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/DragAndDropSvc.h
r74335 r74411 76 76 #define VBOX_DRAG_AND_DROP_MODE_BIDIRECTIONAL 3 77 77 78 #define DND_IGNORE_ACTION UINT32_C(0) 79 #define DND_COPY_ACTION RT_BIT_32(0) 80 #define DND_MOVE_ACTION RT_BIT_32(1) 81 #define DND_LINK_ACTION RT_BIT_32(2) 82 83 #define hasDnDCopyAction(a) ((a) & DND_COPY_ACTION) 84 #define hasDnDMoveAction(a) ((a) & DND_MOVE_ACTION) 85 #define hasDnDLinkAction(a) ((a) & DND_LINK_ACTION) 86 87 #define isDnDIgnoreAction(a) ((a) == DND_IGNORE_ACTION) 88 #define isDnDCopyAction(a) ((a) == DND_COPY_ACTION) 89 #define isDnDMoveAction(a) ((a) == DND_MOVE_ACTION) 90 #define isDnDLinkAction(a) ((a) == DND_LINK_ACTION) 78 #define VBOX_DND_ACTION_IGNORE UINT32_C(0) 79 #define VBOX_DND_ACTION_COPY RT_BIT_32(0) 80 #define VBOX_DND_ACTION_MOVE RT_BIT_32(1) 81 #define VBOX_DND_ACTION_LINK RT_BIT_32(2) 82 83 /** A single DnD action. */ 84 typedef uint32_t VBOXDNDACTION; 85 /** A list of (OR'ed) DnD actions. */ 86 typedef uint32_t VBOXDNDACTIONLIST; 87 88 #define hasDnDCopyAction(a) ((a) & VBOX_DND_ACTION_COPY) 89 #define hasDnDMoveAction(a) ((a) & VBOX_DND_ACTION_MOVE) 90 #define hasDnDLinkAction(a) ((a) & VBOX_DND_ACTION_LINK) 91 92 #define isDnDIgnoreAction(a) ((a) == VBOX_DND_ACTION_IGNORE) 93 #define isDnDCopyAction(a) ((a) == VBOX_DND_ACTION_COPY) 94 #define isDnDMoveAction(a) ((a) == VBOX_DND_ACTION_MOVE) 95 #define isDnDLinkAction(a) ((a) == VBOX_DND_ACTION_LINK) 91 96 92 97 /** @def VBOX_DND_FORMATS_DEFAULT
Note:
See TracChangeset
for help on using the changeset viewer.