00001
00002
00003
00004
00005
00008
00009 #define _FILEDLG_H_
00012 #include <stdio.h>
00013 #include "types.h"
00014 #include "node.h"
00015 #include "object.h"
00016 #include <windows.h>
00019
00020
00021
00024
00025 #define guidFILEDLG (AfileDlg::CI.guid)
00026
00029
00030 class AfileDlg : public Anode
00031 {
00032 public:
00033 enum
00034 {
00035 LOAD,
00036 SAVE
00037 };
00038
00039 ALIBOBJ
00040
00041 ADLL AfileDlg (char *name, Aobject *onotify, char *sel, char *file, int type);
00042 ADLL virtual ~AfileDlg ();
00043
00044 ADLL bool getFile (char *filename, int maxlen);
00045 ADLL Anode * getFiles ();
00046
00047 Aobject *toNotify;
00048 char *select;
00049 char *filename;
00050 bool ok;
00051 OPENFILENAME ofn;
00052 };
00053
00056 #endif //_FILEDLG_H_