Import Geant4 11.0.0 source tree
This commit is contained in:
committed by
Ben Morgan
parent
6399a014b6
commit
80e2389dd8
@@ -65,13 +65,15 @@ public:
|
||||
|
||||
G4bool IsGUI() const;
|
||||
|
||||
void SetVerbose(G4bool val);
|
||||
|
||||
void SetPrompt(const G4String& prompt);
|
||||
void SetLsColor(TermColorIndex dirColor, TermColorIndex cmdColor);
|
||||
|
||||
void SessionStart();
|
||||
|
||||
private:
|
||||
enum SessionType { kNone, kQt, kXm, kWin32, kGag, kTcsh, kCsh };
|
||||
enum SessionType { kNone, kQt, kXm, kWin32, kTcsh, kCsh };
|
||||
SessionType selected;
|
||||
|
||||
G4UIsession* session;
|
||||
@@ -79,6 +81,8 @@ private:
|
||||
|
||||
G4bool isGUI;
|
||||
|
||||
G4bool verbose;
|
||||
|
||||
std::map<G4String, G4String> sessionMap;
|
||||
|
||||
void SelectSessionByArg(const G4String& stype);
|
||||
@@ -98,4 +102,9 @@ inline G4bool G4UIExecutive::IsGUI() const
|
||||
return isGUI;
|
||||
}
|
||||
|
||||
inline void G4UIExecutive::SetVerbose(G4bool val)
|
||||
{
|
||||
verbose = val;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user