Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / programs / dtfile / Common.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these librararies and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $XConsortium: Common.h /main/4 1995/11/02 14:35:32 rswiston $ */
24 /************************************<+>*************************************
25  ****************************************************************************
26  *
27  *   FILE:           Common.h
28  *
29  *   COMPONENT_NAME: Desktop File Manager
30  *
31  *   DESCRIPTION:    Public include file for common dialog code
32  *
33  *   (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
34  *   (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
35  *   (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
36  *   (c) Copyright 1993, 1994, 1995 Novell, Inc.
37  *
38  ****************************************************************************
39  ************************************<+>*************************************/
40
41 #ifndef _Common_h
42 #define _Common_h
43
44 /* Buffer type - Used to store buffer drag-n-drop info */
45 typedef struct
46 {
47   void * buf_ptr;
48   int    size;
49 } BufferInfo;
50
51 /* Pixmap Data structure */
52 typedef struct
53 {
54    int   size;
55    char *hostPrefix;
56    char *instanceIconName;
57    char *iconName;
58    char *iconFileName;
59 } PixmapData;
60
61 typedef struct _TypesToggleInfo {
62    String name;
63    Boolean  selected;
64 } TypesToggleInfo, *TypesToggleInfoPtr;
65
66
67 #define XmROfft "Offt"
68
69 /********    Public Function Declarations    ********/
70
71 extern void CvtStringToStringList( 
72                         String string,
73                         String **listPtr,
74                         int *countPtr) ;
75 extern String CvtStringListToString( 
76                         String *list,
77                         int count) ;
78
79 /********    End Public Function Declarations    ********/
80
81 #endif /* _Common_h */
82 /* DON'T ADD ANYTHING AFTER THIS #endif */