Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
112
cde/programs/dtfile/ModAttr.h
Normal file
112
cde/programs/dtfile/ModAttr.h
Normal file
@@ -0,0 +1,112 @@
|
||||
/* $XConsortium: ModAttr.h /main/3 1995/11/02 14:42:29 rswiston $ */
|
||||
/************************************<+>*************************************
|
||||
****************************************************************************
|
||||
*
|
||||
* FILE: ModAttr.h
|
||||
*
|
||||
* COMPONENT_NAME: Desktop File Manager
|
||||
*
|
||||
* DESCRIPTION: Public include file for the modify file attributes dialog.
|
||||
*
|
||||
* (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
|
||||
* (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
|
||||
* (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
|
||||
* (c) Copyright 1993, 1994, 1995 Novell, Inc.
|
||||
*
|
||||
****************************************************************************
|
||||
************************************<+>*************************************/
|
||||
|
||||
#ifndef _ModAttr_h
|
||||
#define _ModAttr_h
|
||||
|
||||
#include <stdio.h> /* for FILENAME_MAX */
|
||||
#include "Common.h"
|
||||
|
||||
extern DialogClass * modAttrClass;
|
||||
|
||||
|
||||
#define MAXLINELENGTH 1024 /* for lines in dtfs configuration file */
|
||||
/* used in fsDialog.c in fgets call & as dimension */
|
||||
/* of some arrays ... made large enough to hold */
|
||||
/* MAX_PATH for most machines */
|
||||
|
||||
|
||||
typedef struct { /* File system attributes */
|
||||
char buttonLabel[MAXLINELENGTH];
|
||||
char fsDialogProgram[MAXLINELENGTH];
|
||||
char path[MAXLINELENGTH];
|
||||
char warningMessage[MAXLINELENGTH];
|
||||
Boolean dismissStdPermissionDialog;
|
||||
} dtFSData;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
Boolean displayed;
|
||||
Position x;
|
||||
Position y;
|
||||
Dimension width;
|
||||
Dimension height;
|
||||
|
||||
String host;
|
||||
String directory;
|
||||
String name;
|
||||
String link_name;
|
||||
String filetype;
|
||||
String owner;
|
||||
String group;
|
||||
int accessBits;
|
||||
int setuidBits;
|
||||
int size;
|
||||
time_t modTime;
|
||||
Widget main_widget;
|
||||
|
||||
PixmapData * pixmapData;
|
||||
} ModAttrData, * ModAttrDataPtr;
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
XtCallbackProc callback;
|
||||
XtPointer client_data;
|
||||
XtPointer modAttr_rec;
|
||||
} ModAttrApply;
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
Widget shell;
|
||||
Widget bboard;
|
||||
Widget name;
|
||||
Widget link_name;
|
||||
Widget link_label;
|
||||
Widget fileType;
|
||||
Widget owner;
|
||||
Widget ownerL;
|
||||
Widget owner_label;
|
||||
Widget group;
|
||||
Widget groupL;
|
||||
Widget ownerRead;
|
||||
Widget ownerWrite;
|
||||
Widget ownerExecute;
|
||||
Widget groupRead;
|
||||
Widget groupWrite;
|
||||
Widget groupExecute;
|
||||
Widget otherRead;
|
||||
Widget otherWrite;
|
||||
Widget otherExecute;
|
||||
Widget otherPLabel;
|
||||
Widget fsWarning;
|
||||
Widget fsPushButton;
|
||||
Widget size;
|
||||
Widget modTime;
|
||||
Widget ok;
|
||||
Widget cancel;
|
||||
Widget help;
|
||||
dtFSData fileSystem;
|
||||
|
||||
ModAttrApply * apply_data;
|
||||
} ModAttrRec;
|
||||
|
||||
#endif /* _ModAttr_h */
|
||||
/* DON'T ADD ANYTHING AFTER THIS #endif */
|
||||
|
||||
Reference in New Issue
Block a user