Ignore:
Timestamp:
Apr 21, 2010, 3:51:50 PM (16 years ago)
Author:
garnier
Message:

update

Location:
trunk/source/interfaces/basic/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/interfaces/basic/include/G4UIExecutive.hh

    r1117 r1243  
    2424// ********************************************************************
    2525//
    26 // $Id: G4UIExecutive.hh,v 1.3 2009/05/28 06:13:03 kmura Exp $
     26// $Id: G4UIExecutive.hh,v 1.4 2009/11/20 22:10:31 kmura Exp $
    2727// GEANT4 tag $Name:  $
    2828//
     
    6565
    6666public:
    67   G4UIExecutive(G4int argc=1, char** argv=0);
     67  G4UIExecutive(G4int argc, char** argv);
    6868  ~G4UIExecutive();
    6969
  • trunk/source/interfaces/basic/include/G4UIExecutive.icc

    r1210 r1243  
    2525//
    2626//
    27 // $Id: G4UIExecutive.icc,v 1.4 2009/05/28 06:13:03 kmura Exp $
     27// $Id: G4UIExecutive.icc,v 1.6 2009/11/20 22:10:31 kmura Exp $
    2828// GEANT4 tag $Name:  $
    2929//
     
    5555#endif
    5656
     57#define DISCARD_PARAMETER(p) (void)p
     58
    5759/////////////////////////////////////////////////////
    58 #if defined(G4UI_USE_XM) || defined(G4UI_USE_QT)
    5960G4UIExecutive::G4UIExecutive(G4int argc, char** argv)
    60 #else
    61 G4UIExecutive::G4UIExecutive(G4int, char**)
    62 #endif
    6361  : session(0), shell(0),isGUI(false)
    6462/////////////////////////////////////////////////////
    6563{
    6664#if defined(G4UI_USE_TCSH)
     65  DISCARD_PARAMETER(argc);
     66  DISCARD_PARAMETER(argv);
     67
    6768  shell = new G4UItcsh;
    6869  session = new G4UIterminal(shell);
     
    7374
    7475#elif defined(G4UI_USE_WIN32)
     76  DISCARD_PARAMETER(argc);
     77  DISCARD_PARAMETER(argv);
     78
    7579  session = new G4UIWin32();
    7680
    7781#elif defined(G4UI_USE_QT)
    78 //  G4int argc2 = 0;
    79 //  char** argv2 = 0;
    8082  session = new G4UIQt(argc, argv);
    81 //  session = new G4UIQt(argc2, argv2);
    8283  isGUI = true;
    8384   
    8485#else
     86  DISCARD_PARAMETER(argc);
     87  DISCARD_PARAMETER(argv);
     88
    8589  shell = new G4UIcsh;
    8690  session = new G4UIterminal(shell);
Note: See TracChangeset for help on using the changeset viewer.