2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
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)
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
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
23 /* $XConsortium: ModAttr.h /main/3 1995/11/02 14:42:29 rswiston $ */
24 /************************************<+>*************************************
25 ****************************************************************************
29 * COMPONENT_NAME: Desktop File Manager
31 * DESCRIPTION: Public include file for the modify file attributes dialog.
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.
38 ****************************************************************************
39 ************************************<+>*************************************/
44 #include <stdio.h> /* for FILENAME_MAX */
47 extern DialogClass * modAttrClass;
50 #define MAXLINELENGTH 1024 /* for lines in dtfs configuration file */
51 /* used in fsDialog.c in fgets call & as dimension */
52 /* of some arrays ... made large enough to hold */
53 /* MAX_PATH for most machines */
56 typedef struct { /* File system attributes */
57 char buttonLabel[MAXLINELENGTH];
58 char fsDialogProgram[MAXLINELENGTH];
59 char path[MAXLINELENGTH];
60 char warningMessage[MAXLINELENGTH];
61 Boolean dismissStdPermissionDialog;
85 PixmapData * pixmapData;
86 } ModAttrData, * ModAttrDataPtr;
91 XtCallbackProc callback;
92 XtPointer client_data;
93 XtPointer modAttr_rec;
129 ModAttrApply * apply_data;
132 #endif /* _ModAttr_h */
133 /* DON'T ADD ANYTHING AFTER THIS #endif */