Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:15:25

0001 /* 
0002  * Motif
0003  *
0004  * Copyright (c) 1987-2012, The Open Group. All rights reserved.
0005  *
0006  * These libraries and programs are free software; you can
0007  * redistribute them and/or modify them under the terms of the GNU
0008  * Lesser General Public License as published by the Free Software
0009  * Foundation; either version 2 of the License, or (at your option)
0010  * any later version.
0011  *
0012  * These libraries and programs are distributed in the hope that
0013  * they will be useful, but WITHOUT ANY WARRANTY; without even the
0014  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
0015  * PURPOSE. See the GNU Lesser General Public License for more
0016  * details.
0017  *
0018  * You should have received a copy of the GNU Lesser General Public
0019  * License along with these librararies and programs; if not, write
0020  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
0021  * Floor, Boston, MA 02110-1301 USA
0022 */ 
0023 
0024 #ifndef _XmDropTransferP_h
0025 #define _XmDropTransferP_h
0026 
0027 #include <Xm/DropTrans.h>
0028 #include <Xm/XmP.h>
0029 
0030 
0031 #ifdef __cplusplus
0032 extern "C" {
0033 #endif
0034 
0035 /*  DropTransfer class structure  */
0036 
0037 typedef Widget (*XmDropTransferStartTransferProc)(Widget,
0038     ArgList, Cardinal);
0039 typedef void (*XmDropTransferAddTransferProc)(Widget,
0040     XmDropTransferEntry, Cardinal);
0041 
0042 typedef struct _XmDropTransferClassPart
0043 {
0044     XmDropTransferStartTransferProc start_drop_transfer;
0045     XmDropTransferAddTransferProc   add_drop_transfer;
0046     XtPointer extension;
0047 } XmDropTransferClassPart;
0048 
0049 /*  Full class record declaration */
0050 
0051 typedef struct _XmDropTransferClassRec
0052 {
0053    ObjectClassPart        object_class;
0054    XmDropTransferClassPart dropTransfer_class;
0055 } XmDropTransferClassRec;
0056 
0057 externalref XmDropTransferClassRec xmDropTransferClassRec;
0058 
0059 
0060 typedef struct _XmDropTransferListRec {
0061     XmDropTransferEntry transfer_list;
0062     Cardinal        num_transfers;
0063 } XmDropTransferListRec, * XmDropTransferList;
0064 
0065 
0066 /*  The DropTransfer instance record  */
0067 
0068 typedef struct _XmDropTransferPart
0069 {
0070     XmDropTransferEntry     drop_transfers;
0071     Cardinal            num_drop_transfers;
0072     Atom            selection;
0073     Widget          dragContext;
0074     Time            timestamp;
0075     Boolean         incremental;
0076     Window          source_window;
0077     unsigned int        tag;
0078     XtSelectionCallbackProc     transfer_callback;
0079     unsigned char       transfer_status;
0080 
0081     Atom            motif_drop_atom;
0082     
0083     XmDropTransferList      drop_transfer_lists;
0084     Cardinal            num_drop_transfer_lists;
0085     Cardinal            cur_drop_transfer_list;
0086     Cardinal            cur_xfer;
0087     Atom *          cur_targets;
0088     XtPointer *         cur_client_data;
0089 } XmDropTransferPart;
0090 
0091 /*  Full instance record declaration  */
0092 
0093 typedef struct _XmDropTransferRec
0094 {
0095     ObjectPart  object;
0096     XmDropTransferPart dropTransfer;
0097 } XmDropTransferRec;
0098 
0099 
0100 /********    Private Function Declarations    ********/
0101 
0102 
0103 /********    End Private Function Declarations    ********/
0104 
0105 
0106 #ifdef __cplusplus
0107 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0108 #endif
0109 
0110 #endif /* _XmDropTransferP_h */
0111 /* DON'T ADD ANYTHING AFTER THIS #endif */