#ifndef NEDIT_GETFILES_H_INCLUDED
#define NEDIT_GETFILES_H_INCLUDED
#include <X11/Intrinsic.h>
#include "filedialog.h"
#define GFN_OK 1
#define GFN_CANCEL 2
int GetExistingFilename(Widget parent,
char *promptString, FileSelection *file);
int GetNewFilename(Widget parent,
char *promptString, FileSelection *file,
char *defaultName);
char *GetFileDialogDefaultDirectory(
void);
void SetFileDialogDefaultDirectory(
char *dir);
char* GetDefaultDirectoryStr(
void);
int OverrideFileDialog(Widget parent,
const char *filename);
void FileOpenErrorDialog(Widget parent,
const char *filename);
Widget CreateFormatButtons(
Widget form,
Widget bottom,
int format,
Widget *u,
Widget *d,
Widget *m);
#endif