32 #if defined(G4UI_BUILD_WIN32_SESSION) || defined(G4UI_USE_WIN32)
70 void AddMenu (
const char*,
const char*);
75 void AddButton (
const char*,
const char*,
const char*);
84 void SessionTerminate ();
89 void TextAppendString(
char*);
91 void SecondaryLoop (
const G4String&);
97 HWND textWindow,editWindow;
98 HMENU menuBar,defaultMenu;
99 std::map<int,G4String, std::less<int> > commands;
101 int textRows,textCols;
102 static LRESULT CALLBACK MainWindowProc(HWND,UINT,WPARAM,LPARAM);
103 static LRESULT CALLBACK TextWindowProc(HWND,UINT,WPARAM,LPARAM);
104 static LRESULT CALLBACK EditWindowProc(HWND,UINT,WPARAM,LPARAM);
107 std::vector<G4String> fHistory;
virtual G4bool GetHelpChoice(G4int &)=0
virtual void ExitHelp() const =0
virtual G4int ReceiveG4cout(const G4String &coutString)
virtual void AddMenu(const char *, const char *)
virtual void PauseSessionStart(const G4String &Prompt)=0
virtual G4UIsession * SessionStart()=0
virtual void AddButton(const char *, const char *, const char *)
virtual G4int ReceiveG4cerr(const G4String &cerrString)