Import Geant4 5.0.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIGAG.cc,v 1.14 2002/04/26 21:28:25 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// $Id: G4UIGAG.cc,v 1.15 2002/12/05 16:33:41 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
// G4UIGAG.cc
|
||||
// 18.Feb.98 M.Nagamatu and T.Kodama created G4UIGAG from G4UIterminal
|
||||
@@ -814,7 +814,7 @@ void G4UIGAG::NotifyParameterUpdate(G4UIcommand* com)
|
||||
//####### update check routines ####################################
|
||||
void G4UIGAG::UpdateState(void)
|
||||
{
|
||||
static G4ApplicationState previousState= PreInit;
|
||||
static G4ApplicationState previousState= G4State_PreInit;
|
||||
G4ApplicationState newState;
|
||||
G4StateManager *statM = G4StateManager::GetStateManager();
|
||||
newState = statM->GetCurrentState();
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
//
|
||||
//
|
||||
// 12/06/2002 G4UIGainServer H. MInamimoto and H. Yoshida created
|
||||
// $Id: G4UIGainServer.cc,v 1.3 2002/06/14 02:18:00 yhajime Exp $
|
||||
// $Name: geant4-04-01 $
|
||||
// $Id: G4UIGainServer.cc,v 1.5 2002/12/05 16:33:42 asaim Exp $
|
||||
// $Name: geant4-05-00 $
|
||||
//
|
||||
#ifndef WIN32
|
||||
|
||||
@@ -404,7 +404,8 @@ void G4UIGainServer::WaitingConnection(){
|
||||
len = sizeof(caddr);
|
||||
|
||||
for(int i=1;i<=2;i++){
|
||||
if((socketD[i] = accept(socketD[0], (struct sockaddr *)&caddr,(int *)&len))<0){
|
||||
// if((socketD[i] = accept(socketD[0], (struct sockaddr *)&caddr,(int *)&len))<0){
|
||||
if((socketD[i] = accept(socketD[0], (struct sockaddr *)&caddr,(socklen_t *)&len))<0){
|
||||
G4cerr<<"accept:"<<i<<G4endl;
|
||||
exit(1);
|
||||
}
|
||||
@@ -778,7 +779,7 @@ void G4UIGainServer::SendDisableList(G4UIcommandTree* tree,int level){
|
||||
///////////////////////////////
|
||||
void G4UIGainServer::UpdateState(void){
|
||||
///////////////////////////////
|
||||
static G4ApplicationState previousState= PreInit;
|
||||
static G4ApplicationState previousState= G4State_PreInit;
|
||||
G4ApplicationState newState;
|
||||
G4StateManager *statM = G4StateManager::GetStateManager();
|
||||
newState = statM->GetCurrentState();
|
||||
|
||||
Reference in New Issue
Block a user