- Timestamp:
- Apr 30, 2009, 4:23:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/test/test19.cc
r954 r1025 65 65 #include "G4UIWin32.hh" 66 66 #endif 67 #ifdef G4UI_USE_QT 68 #include "G4UIQt.hh" 69 #endif 67 70 68 71 #include "G4RunManager.hh" … … 103 106 if (strcmp (argv[1], "tcsh")==0) session = 104 107 new G4UIterminal(new G4UItcsh); 108 else 105 109 #endif 106 110 #ifdef G4UI_USE_WO 107 else if (strcmp (argv[1], "Wo")==0) session = new G4UIWo (argc, argv); 111 if (strcmp (argv[1], "Wo")==0) session = new G4UIWo (argc, argv); 112 else 108 113 #endif 109 114 #ifdef G4UI_USE_XM 110 else if (strcmp (argv[1], "Xm")==0) session = new G4UIXm (argc, argv); 115 if (strcmp (argv[1], "Xm")==0) session = new G4UIXm (argc, argv); 116 else 111 117 #endif 112 118 #ifdef G4UI_USE_XAW 113 else if (strcmp (argv[1], "Xaw")==0) session = new G4UIXaw (argc, argv); 114 #endif 115 else if (strcmp (argv[1], "gag")==0) session = new G4UIGAG ; 116 else session = 119 if (strcmp (argv[1], "Xaw")==0) session = new G4UIXaw (argc, argv); 120 else 121 #endif 122 #ifdef G4UI_USE_GAG 123 if (strcmp (argv[1], "gag")==0) session = new G4UIGAG ; 124 else 125 #endif 126 #ifdef G4UI_USE_QT 127 if (strcmp (argv[1], "Qt")==0) session = new G4UIQt(argc, argv) ; 128 else 129 #endif 130 session = 117 131 new G4UIterminal(); 118 132 } 119 else session =133 else 120 134 #ifdef G4UI_USE_TCSH 121 new G4UIterminal(new G4UItcsh); 122 #else 123 new G4UIterminal(); 135 session = new G4UIterminal(new G4UItcsh); 136 #else 137 { 138 G4cerr << "You should define a UI in order to interact with test" << G4endl; 139 return 0; 140 } 124 141 #endif 125 142 #endif
Note: See TracChangeset
for help on using the changeset viewer.