00001 // Author: Wim Lavrijsen February 2006 00002 00003 #ifndef ROOT_TPyROOTApplication 00004 #define ROOT_TPyROOTApplication 00005 00006 ////////////////////////////////////////////////////////////////////////////// 00007 // // 00008 // TPyROOTApplication // 00009 // // 00010 // Setup interactive application for python. // 00011 // // 00012 ////////////////////////////////////////////////////////////////////////////// 00013 00014 00015 // ROOT 00016 #ifndef ROOT_TApplication 00017 #include "TApplication.h" 00018 #endif 00019 00020 00021 namespace PyROOT { 00022 00023 class TPyROOTApplication : public TApplication { 00024 public: 00025 static Bool_t CreatePyROOTApplication( Bool_t bLoadLibs = kTRUE ); 00026 00027 static Bool_t InitROOTGlobals(); 00028 static Bool_t InitCINTMessageCallback(); 00029 static Bool_t InitROOTMessageCallback(); 00030 00031 public: 00032 TPyROOTApplication( 00033 const char* acn, Int_t* argc, char** argv, Bool_t bLoadLibs = kTRUE ); 00034 00035 virtual ~TPyROOTApplication() { } 00036 ClassDef(TPyROOTApplication,0) //Setup interactive application 00037 }; 00038 00039 } // namespace PyROOT 00040 00041 #endif