Changeset 1157 for trunk/source
- Timestamp:
- Nov 6, 2009, 10:16:53 AM (15 years ago)
- Location:
- trunk/source/intercoms
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/intercoms/History
r1044 r1157 1 $Id: History,v 1.7 5 2009/05/14 02:59:33kmura Exp $1 $Id: History,v 1.77 2009/11/06 09:00:02 kmura Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 17 17 * Reverse chronological order (last date on top), please * 18 18 ---------------------------------------------------------- 19 20 6 November, 2009 K. Murakami (intercoms-V09-02-02) 21 - add GetPreviousSession() in G4UIbatch 22 23 6 November, 2009 K. Murakami (intercoms-V09-02-01) 24 - fix incorrect directory deletion of G4UIcommandTree::RemoveCommand() 19 25 20 26 14 May 2009 K.Murakami (intercoms-V09-02-00) -
trunk/source/intercoms/include/G4UIbatch.hh
r1016 r1157 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4UIbatch.hh,v 1.1 0 2007/07/16 10:15:12kmura Exp $27 // GEANT4 tag $Name: geant4-09-02$26 // $Id: G4UIbatch.hh,v 1.11 2009/11/06 08:58:53 kmura Exp $ 27 // GEANT4 tag $Name: $ 28 28 // 29 29 // ==================================================================== … … 70 70 ~G4UIbatch(); 71 71 72 G4UIsession* GetPreviousSession() const; 73 72 74 virtual G4UIsession* SessionStart(); 73 75 virtual void PauseSessionStart(G4String Prompt); … … 75 77 }; 76 78 79 // ============================================================================ 80 // inlines 81 82 inline G4UIsession* G4UIbatch::GetPreviousSession() const 83 { 84 return previousSession; 85 } 86 77 87 #endif -
trunk/source/intercoms/src/G4UIcommandTree.cc
r1044 r1157 25 25 // 26 26 // 27 // $Id: G4UIcommandTree.cc,v 1.1 5 2009/05/07 09:33:51 lgarnierExp $27 // $Id: G4UIcommandTree.cc,v 1.16 2009/11/06 06:16:07 kmura Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 143 143 tree[i_thTree]->RemoveCommand( aCommand ); 144 144 G4int n_commandRemain = tree[i_thTree]->GetCommandEntry(); 145 if(n_commandRemain==0) 145 G4int n_treeRemain = tree[i_thTree]-> GetTreeEntry(); 146 if(n_commandRemain == 0 && n_treeRemain == 0) 146 147 { 147 148 G4UIcommandTree * emptyTree = tree[i_thTree];
Note: See TracChangeset
for help on using the changeset viewer.