Ignore:
Timestamp:
Jun 14, 2010, 3:54:58 PM (14 years ago)
Author:
garnier
Message:

geant4.9.4 beta rc0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/extended/electromagnetic/TestEm5/TestEm5.cc

    r1230 r1313  
    5050#ifdef G4VIS_USE
    5151#include "G4VisExecutive.hh"
     52#endif
     53
     54#ifdef G4UI_USE
     55#include "G4UIExecutive.hh"
    5256#endif
    5357
     
    119123#endif   
    120124     
    121      G4UIsession * session = 0;
    122 #ifdef G4UI_USE_TCSH
    123       session = new G4UIterminal(new G4UItcsh);     
     125   //   G4UIsession * session = 0;
     126   G4UIExecutive * session = 0;
     127#ifdef G4UI_USE
     128   session = new G4UIExecutive(argc,argv);
    124129#else
    125       session = new G4UIterminal();
    126 #endif     
     130   session = new G4UIterminal();
     131#endif
     132
     133// #ifdef G4UI_USE_TCSH
     134//       session = new G4UIterminal(new G4UItcsh);     
     135// #else
     136//       session = new G4UIterminal();
     137// #endif     
    127138     session->SessionStart();
    128139     delete session;
Note: See TracChangeset for help on using the changeset viewer.