Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
//
|
||||
// By copying, distributing or modifying the Program (or any work
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: cstartup.cxx,v 2.1 1998/07/12 02:39:02 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
/*********************************************************************
|
||||
*
|
||||
Copyright (c) 1996
|
||||
|
||||
File Name: CStartup.cxx
|
||||
|
||||
Implements main()
|
||||
*
|
||||
*********************************************************************/
|
||||
|
||||
#include "XVTPwr.h"
|
||||
#include "AppDef.h"
|
||||
|
||||
#include GUI_i
|
||||
#include G4XvtGUI_i
|
||||
|
||||
#ifdef DSP_RELEASE
|
||||
#include FactoryCommands_i
|
||||
#endif
|
||||
|
||||
#ifndef PAFACTORY_QBASE_NAME
|
||||
#define PAFACTORY_QBASE_NAME "GUI"
|
||||
#endif
|
||||
|
||||
int main( int argc, char** argv )
|
||||
{
|
||||
// Instantiate an application object, then invoke its Go()
|
||||
// method to begin life as a GUI application. On some platforms
|
||||
// Go() will never return control to main(), so do not place
|
||||
// any meaningful code after Go().
|
||||
//
|
||||
// Add any GUI initialization code to the application class
|
||||
// constructor, rather than doing it here.
|
||||
|
||||
G4XvtGUI theApplication;
|
||||
|
||||
theApplication.Go(
|
||||
argc,
|
||||
argv,
|
||||
PAFACTORY_APP_MENU,
|
||||
PAFACTORY_APP_ABOUT_BOX,
|
||||
PAFACTORY_QBASE_NAME,
|
||||
PAFACTORY_APP_NAME,
|
||||
PAFACTORY_APP_TITLE );
|
||||
|
||||
// In case Go() returns and/or to avoid compiler warnings
|
||||
|
||||
return( 0 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user