1 /* $Id: getfiles.h,v 1.5 2002/07/11 21:18:09 slobasso Exp $ */
3 #ifndef NEDIT_GETFILES_H_INCLUDED
4 #define NEDIT_GETFILES_H_INCLUDED
6 #include <X11/Intrinsic.h>
8 #define GFN_OK 1 /* Get Filename OK constant */
9 #define GFN_CANCEL 2 /* Get Filename Cancel constant */
11 int GetNewFilename(Widget parent
, char *promptString
, char *filename
);
12 int GetExistingFilename(Widget parent
, char *promptString
, char *filename
);
13 int HandleCustomExistFileSB(Widget existFileSB
, char *filename
);
14 int HandleCustomNewFileSB(Widget newFileSB
, char *filename
, char *defaultName
);
15 char *GetFileDialogDefaultDirectory(void);
16 char *GetFileDialogDefaultPattern(void);
17 void SetFileDialogDefaultDirectory(char *dir
);
18 void SetFileDialogDefaultPattern(char *pattern
);
19 void SetGetEFTextFieldRemoval(int state
);
21 #endif /* NEDIT_GETFILES_H_INCLUDED */