Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

main.cxx

Go to the documentation of this file.
00001 
00002 #include <TROOT.h>
00003 #include <TRint.h>
00004 #include <TSystem.h>
00005 
00006 #include "bfemDisplay/EDControl.h"
00007 
00008 extern void InitGui();
00009 VoidFuncPtr_t initfuncs[] = { InitGui, 0 };
00010 
00011 TRint *theApp;
00012 
00013 EDControl *evtCtrl;
00014 
00015 
00016 int main( int argc, char **argv )
00017 
00018 {
00019 
00020   TROOT root( "EventDisplay", "EventDisplay", initfuncs );
00021 
00022   theApp = new TRint( "App", &argc, argv );
00023 
00024   evtCtrl = new EDControl();   // Start the event control.
00025 
00026   theApp->Run();   // Start the Cint session.
00027 
00028   theApp->Terminate( 0 );  // Terminate Cint session after session is quit.
00029 
00030 
00031 }

Generated at Wed Nov 14 20:41:42 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000