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 _XmDropTrans_h
0025 #define _XmDropTrans_h
0026 
0027 #include <Xm/Xm.h>
0028 
0029 #ifdef __cplusplus
0030 extern "C" {
0031 #endif
0032 
0033 #define XmTRANSFER_FAILURE 0
0034 #define XmTRANSFER_SUCCESS 1
0035 
0036 externalref WidgetClass xmDropTransferObjectClass;
0037 
0038 typedef struct _XmDropTransferClassRec * XmDropTransferObjectClass;
0039 typedef struct _XmDropTransferRec      * XmDropTransferObject;
0040 
0041 #ifndef XmIsDropTransfer
0042 #define XmIsDropTransfer(w) \
0043     XtIsSubclass((w), xmDropTransferObjectClass)
0044 #endif /* XmIsDropTransfer */
0045 
0046 typedef struct _XmDropTransferEntryRec {
0047     XtPointer   client_data;
0048     Atom        target;
0049 } XmDropTransferEntryRec, * XmDropTransferEntry;
0050 
0051 /********    Public Function Declarations    ********/
0052 
0053 extern Widget XmDropTransferStart( 
0054                         Widget refWidget,
0055                         ArgList args,
0056                         Cardinal argCount) ;
0057 extern void XmDropTransferAdd( 
0058                         Widget widget,
0059                         XmDropTransferEntry transfers,
0060                         Cardinal num_transfers) ;
0061 
0062 /********    End Public Function Declarations    ********/
0063 
0064 
0065 #ifdef __cplusplus
0066 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0067 #endif
0068 
0069 #endif /* _XmDropTrans_h */
0070 /* DON'T ADD ANYTHING AFTER THIS #endif */