00001 #ifndef __GINPUT_H 00002 #define __GINPUT_H 00003 00006 typedef void (*GInputCallback)(class GInput *Dlg, GViewI *EditCtrl, void *Param); 00007 00011 class LgiClass GInput : public GDialog 00012 { 00013 GEdit *Edit; 00014 GInputCallback Callback; 00015 void *CallbackParam; 00016 00017 public: 00018 GAutoString Str; 00019 00021 GInput 00022 ( 00024 GViewI *parent, 00026 const char *InitStr = "", 00028 const char *Msg = "Enter String", 00030 const char *Title = "Input", 00032 bool Password = false, 00035 GInputCallback callback = 0, 00037 void *CallbackParam = 0 00038 ); 00039 00040 int OnNotify(GViewI *Ctrl, int Flags); 00041 }; 00042 00043 #endif