32 #if defined(G4UI_BUILD_XM_SESSION) || defined(G4UI_USE_XM)
36 #include <X11/Intrinsic.h>
69 void AddMenu(
const char*,
const char*);
74 void AddButton(
const char*,
const char*,
const char*);
83 void SessionTerminate();
93 Widget form,shell,command,menuBar,text;
94 std::map<Widget,G4String, std::less<Widget> > commands;
95 static void CommandEnteredCallback(Widget,XtPointer,XtPointer);
96 static void keyHandler(Widget,XtPointer,XEvent*,Boolean*);
99 static void ButtonCallback(Widget,XtPointer,XtPointer);
virtual void PauseSessionStart(const G4String &Prompt)=0
virtual void ExitHelp() const =0
virtual G4int ReceiveG4cout(const G4String &coutString)
virtual G4int ReceiveG4cerr(const G4String &cerrString)
virtual G4UIsession * SessionStart()=0
virtual G4bool GetHelpChoice(G4int &)=0
virtual void AddButton(const char *, const char *, const char *)
virtual void AddMenu(const char *, const char *)