1 /***********************************************************************/ 2 /* Open Visualization Data Explorer */ 3 /* (C) Copyright IBM Corp. 1989,1999 */ 4 /* ALL RIGHTS RESERVED */ 5 /* This code licensed under the */ 6 /* "IBM PUBLIC LICENSE - Open Visualization Data Explorer" */ 7 /***********************************************************************/ 8 9 #include <dxconfig.h> 10 #include "../base/defines.h" 11 12 13 14 15 16 #ifndef _LoadMDFDialog_h 17 #define _LoadMDFDialog_h 18 19 20 #include "FileDialog.h" 21 22 23 // 24 // Class name definition: 25 // 26 #define ClassLoadMDFDialog "LoadMDFDialog" 27 28 class DXApplication; 29 30 // 31 // LoadMDFDialog class definition: 32 // 33 class LoadMDFDialog : public FileDialog 34 { 35 static boolean ClassInitialized; 36 static String DefaultResources[]; 37 38 protected: 39 virtual void okFileWork(const char *string); 40 virtual void helpCallback(Dialog* dialog); 41 DXApplication *dxApp; 42 43 // 44 // Constructor: For derived classes. 45 // 46 LoadMDFDialog(char *name, Widget parent, DXApplication *app); 47 48 // 49 // Install the default resources for this class and then call the 50 // same super class method to get the default resources from the 51 // super classes. 52 // 53 virtual void installDefaultResources(Widget baseWidget); 54 55 public: 56 // 57 // Constructor: 58 // 59 LoadMDFDialog(Widget parent, DXApplication *app); 60 61 62 // 63 // Destructor: 64 // ~LoadMDFDialog()65 ~LoadMDFDialog(){} 66 67 // 68 // Returns a pointer to the class name. 69 // getClassName()70 const char* getClassName() 71 { 72 return ClassLoadMDFDialog; 73 } 74 }; 75 76 77 #endif // _LoadMDFDialog_h 78