Changeset 1117 for trunk/source/interfaces/basic/include/G4UIExecutive.icc
- Timestamp:
- Oct 6, 2009, 5:03:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/interfaces/basic/include/G4UIExecutive.icc
r1058 r1117 25 25 // 26 26 // 27 // $Id: G4UIExecutive.icc,v 1. 2 2009/05/15 07:15:16kmura Exp $27 // $Id: G4UIExecutive.icc,v 1.4 2009/05/28 06:13:03 kmura Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 55 55 #endif 56 56 57 58 57 ///////////////////////////////////////////////////// 59 #if defined(G4UI_USE_XM) || defined(G4UI_USE_ WIN32) || defined(G4UI_USE_QT)58 #if defined(G4UI_USE_XM) || defined(G4UI_USE_QT) 60 59 G4UIExecutive::G4UIExecutive(G4int argc, char** argv) 61 60 #else 62 61 G4UIExecutive::G4UIExecutive(G4int, char**) 63 62 #endif 64 : session(0), shell(0) 63 : session(0), shell(0),isGUI(false) 65 64 ///////////////////////////////////////////////////// 66 65 { … … 71 70 #elif defined(G4UI_USE_XM) 72 71 session = new G4UIXm(argc, argv); 72 isGUI = true; 73 73 74 74 #elif defined(G4UI_USE_WIN32) … … 77 77 #elif defined(G4UI_USE_QT) 78 78 session = new G4UIQt(argc, argv); 79 isGUI = true; 79 80 80 81 #else … … 89 90 /////////////////////////////// 90 91 { 92 } 93 94 ////////////////////////////////////////// 95 inline G4bool G4UIExecutive::IsGUI() const 96 ////////////////////////////////////////// 97 { 98 return isGUI; 99 } 100 101 ///////////////////////////////////////////////////// 102 inline G4UIsession* G4UIExecutive::GetSession() const 103 ///////////////////////////////////////////////////// 104 { 105 return session; 91 106 } 92 107
Note: See TracChangeset
for help on using the changeset viewer.