dthelp: Change to ANSI function definitions
[oweals/cde.git] / cde / programs / dtfile / IconicPath.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 libraries 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: IconicPath.h /main/4 1995/11/02 14:40:49 rswiston $ */
24 /************************************<+>*************************************
25  ****************************************************************************
26  *
27  *   FILE:           IconicPath.h
28  *
29  *   COMPONENT_NAME: Desktop File Manager
30  *
31  *   DESCRIPTION:    Definitions used in the IconicPath.c
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 _DtIconicPath_h
42 #define _DtIconicPath_h
43
44 #include <Xm/Xm.h>
45
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49
50 /* Class record constants */
51
52 externalref WidgetClass dtIconicPathWidgetClass;
53
54 typedef struct _DtIconicPathClassRec * DtIconicPathWidgetClass;
55 typedef struct _DtIconicPathRec      * DtIconicPathWidget;
56
57
58 #ifndef XmIsIconicPath
59 #define XmIsIconicPath(w)  (XtIsSubclass (w, dtIconicPathWidgetClass))
60 #endif
61
62 /* New resources */
63 #define DtNsmallMinWidth        "smallMinWidth"
64 #define DtNlargeMinWidth        "largeMinWidth"
65 #define DtNforceSmallIcons      "forceSmallIcons"
66 #define DtCForceSmallIcons      "ForceSmallIcons"
67 #define DtNforceLargeIcons      "forceLargeIcons"
68 #define DtCForceLargeIcons      "ForceLargeIcons"
69 #define DtNfileMgrRec           "fileMgrRec"
70 #define DtCfileMgrRec           "FileMgrRec"
71 #define DtNcurrentDirectory     "currentDirectory"
72 #define DtCCurrentDirectory     "CurrentDirectory"
73 #define DtNlargeIcons           "largeIcons"
74 #define DtCLargeIcons           "LargeIcons"
75 #define DtNiconsChanged         "iconsChanged"
76 #define DtCIconsChanged         "IconsChanged"
77
78 /********    Public Function Declarations    ********/
79
80 extern Widget _DtCreateIconicPath(
81                         Widget p,
82                         String name,
83                         ArgList args,
84                         Cardinal n) ;
85
86 extern void DtUpdateIconicPath(
87                         FileMgrRec *file_mgr_rec,
88                         FileMgrData *file_mgr_data,
89                         Boolean icons_changed) ;
90 /********    End Public Function Declarations    ********/
91
92
93 #ifdef __cplusplus
94 }  /* Close scope of 'extern "C"' declaration which encloses file. */
95 #endif
96
97 #endif /* _DtIconicPath_h */
98 /* DON'T ADD ANYTHING AFTER THIS #endif */