2
* @OPENGROUP_COPYRIGHT@
4
* Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
5
* Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group
6
* ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
7
* the full copyright text.
9
* This software is subject to an open license. It may only be
10
* used on, with or for operating systems which are themselves open
11
* source systems. You must contact The Open Group for a license
12
* allowing distribution and sublicensing of this software on, with,
13
* or for operating systems which are not Open Source programs.
15
* See http://www.opengroup.org/openmotif/license for full
16
* details of the license agreement. Any use, reproduction, or
17
* distribution of the program constitutes recipient's acceptance of
20
* EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
21
* PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
22
* KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY
23
* WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
24
* OR FITNESS FOR A PARTICULAR PURPOSE
26
* EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
27
* NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
28
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29
* DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED
30
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
32
* ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
33
* EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
34
* POSSIBILITY OF SUCH DAMAGES.
39
/* $TOG: DragBSI.h /main/12 1998/03/18 15:10:55 csn $ */
40
/* (c) Copyright 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
46
#include <X11/Xmd.h> /* for CARD32, B32, etc. */
53
* defalut values for XmNnumImportTargets and XmNimportTargets.
55
#define _XmDefaultNumImportTargets 0;
56
#define _XmDefaultImportTargets NULL;
60
* atoms and targets table structures
66
} xmAtomsTableEntryRec, *xmAtomsTableEntry;
70
xmAtomsTableEntry entries;
71
} xmAtomsTableRec, *xmAtomsTable;
76
} xmTargetsTableEntryRec, *xmTargetsTableEntry;
80
xmTargetsTableEntry entries;
81
} xmTargetsTableRec, *xmTargetsTable;
84
* The following are structures for property access.
85
* They must have 64-bit multiple lengths to support 64-bit architectures.
90
CARD16 name_length B16;
96
BYTE protocol_version;
97
CARD16 num_atom_pairs B16;
98
CARD32 heap_offset B32;
99
/* xmMotifAtomPairRec atomPairs[]; */
100
} xmMotifAtomPairPropertyRec;
105
} xmMotifAtomsTableRec;
109
BYTE protocol_version;
110
CARD16 num_atoms B16;
111
CARD32 heap_offset B32;
112
/* xmMotifAtomsTableRec atoms[]; */
113
} xmMotifAtomsPropertyRec;
117
BYTE protocol_version;
118
CARD16 num_target_lists B16;
119
CARD32 heap_offset B32;
120
} xmMotifTargetsPropertyRec;
122
/******** Private Function Declarations for DragBS.c ********/
124
extern void _XmInitTargetsTable(
126
extern void _XmClearDisplayTables (Display *display);
127
extern Cardinal _XmIndexToTargets(
131
extern Cardinal _XmTargetsToIndex(
134
Cardinal numTargets) ;
135
extern Atom _XmAllocMotifAtom(
138
extern void _XmFreeMotifAtom(
141
extern void _XmDestroyMotifWindow(
143
extern Window _XmGetDragProxyWindow(
146
/******** End Private Function Declarations ********/
149
} /* Close scope of 'extern "C"' declaration which encloses file. */
152
#endif /* _XmDragBSI_h */