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 
00005 #include "bfemDisplay/EDControl.h"
00006 
00007 TRint *theApp;
00008 
00009 extern void InitGui();
00010 VoidFuncPtr_t initfuncs[] = { InitGui, 0 };
00011 
00012 int main( int argc, char **argv )
00013 
00014 {
00015 
00016   TROOT root( "EventDisplay", "EventDisplay", initfuncs );
00017 
00018   EDControl *evtCtrl;
00019 
00020   Int_t p = 1;
00021   Char_t *a[ 10 ];
00022 
00023   theApp = new TRint( "App", &p, a );
00024 
00025   evtCtrl = new EDControl();   // Start the event control.
00026 
00027   theApp->Run();   // Start the Cint session.
00028 
00029   theApp->Terminate( 0 );  // Terminate Cint session after session is quit.
00030 
00031 
00032 }

Generated at Mon Nov 26 18:20:07 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000