Changeset 1278 for trunk/source/interfaces/basic/include
- Timestamp:
- May 28, 2010, 11:36:37 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/interfaces/basic/include/G4UIExecutive.icc
r1243 r1278 25 25 // 26 26 // 27 // $Id: G4UIExecutive.icc,v 1. 6 2009/11/20 22:10:31kmura Exp $27 // $Id: G4UIExecutive.icc,v 1.7 2010/05/28 08:12:27 kmura Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 35 35 #include "G4UImanager.hh" 36 36 37 #if defined(G4UI_USE_ TCSH)38 #include "G4UI terminal.hh"39 #include "G4 UItcsh.hh"37 #if defined(G4UI_USE_QT) 38 #include "G4UIQt.hh" 39 #include "G4Qt.hh" 40 40 41 41 #elif defined(G4UI_USE_XM) … … 45 45 #include "G4UIWin32.hh" 46 46 47 #elif defined(G4UI_USE_ QT)48 #include "G4UI Qt.hh"49 #include "G4 Qt.hh"47 #elif defined(G4UI_USE_TCSH) 48 #include "G4UIterminal.hh" 49 #include "G4UItcsh.hh" 50 50 51 51 #else … … 62 62 ///////////////////////////////////////////////////// 63 63 { 64 #if defined(G4UI_USE_TCSH) 65 DISCARD_PARAMETER(argc); 66 DISCARD_PARAMETER(argv); 67 68 shell = new G4UItcsh; 69 session = new G4UIterminal(shell); 64 #if defined(G4UI_USE_QT) 65 session = new G4UIQt(argc, argv); 66 isGUI = true; 70 67 71 68 #elif defined(G4UI_USE_XM) … … 79 76 session = new G4UIWin32(); 80 77 81 #elif defined(G4UI_USE_QT) 82 session = new G4UIQt(argc, argv); 83 isGUI = true; 84 78 #elif defined(G4UI_USE_TCSH) 79 DISCARD_PARAMETER(argc); 80 DISCARD_PARAMETER(argv); 81 82 shell = new G4UItcsh; 83 session = new G4UIterminal(shell); 84 85 85 #else 86 86 DISCARD_PARAMETER(argc); … … 121 121 122 122 ////////////////////////////////////////////////////////////// 123 inline void G4UIExecutive::SetLsColor(TermColorIndex dirColor, 123 inline void G4UIExecutive::SetLsColor(TermColorIndex dirColor, 124 124 TermColorIndex cmdColor) 125 125 ////////////////////////////////////////////////////////////// … … 133 133 { 134 134 session-> SessionStart(); 135 delete session; 135 delete session; 136 136 } 137 137
Note: See TracChangeset
for help on using the changeset viewer.