Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / programs / dtfile / Common.h
1 /* $XConsortium: Common.h /main/4 1995/11/02 14:35:32 rswiston $ */
2 /************************************<+>*************************************
3  ****************************************************************************
4  *
5  *   FILE:           Common.h
6  *
7  *   COMPONENT_NAME: Desktop File Manager
8  *
9  *   DESCRIPTION:    Public include file for common dialog code
10  *
11  *   (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
12  *   (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
13  *   (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
14  *   (c) Copyright 1993, 1994, 1995 Novell, Inc.
15  *
16  ****************************************************************************
17  ************************************<+>*************************************/
18
19 #ifndef _Common_h
20 #define _Common_h
21
22 /* Buffer type - Used to store buffer drag-n-drop info */
23 typedef struct
24 {
25   void * buf_ptr;
26   int    size;
27 } BufferInfo;
28
29 /* Pixmap Data structure */
30 typedef struct
31 {
32    int   size;
33    char *hostPrefix;
34    char *instanceIconName;
35    char *iconName;
36    char *iconFileName;
37 } PixmapData;
38
39 typedef struct _TypesToggleInfo {
40    String name;
41    Boolean  selected;
42 } TypesToggleInfo, *TypesToggleInfoPtr;
43
44
45 #define XmROfft "Offt"
46
47 /********    Public Function Declarations    ********/
48
49 extern void CvtStringToStringList( 
50                         String string,
51                         String **listPtr,
52                         int *countPtr) ;
53 extern String CvtStringListToString( 
54                         String *list,
55                         int count) ;
56
57 /********    End Public Function Declarations    ********/
58
59 #endif /* _Common_h */
60 /* DON'T ADD ANYTHING AFTER THIS #endif */