Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TPyROOTApplication.h
Go to the documentation of this file.
1 // Author: Wim Lavrijsen February 2006
2 
3 #ifndef ROOT_TPyROOTApplication
4 #define ROOT_TPyROOTApplication
5 
6 //////////////////////////////////////////////////////////////////////////////
7 // //
8 // TPyROOTApplication //
9 // //
10 // Setup interactive application for python. //
11 // //
12 //////////////////////////////////////////////////////////////////////////////
13 
14 
15 // ROOT
16 #include "TApplication.h"
17 
18 
19 namespace PyROOT {
20 
21 class TPyROOTApplication : public TApplication {
22 public:
23  static void dummy() {} // Cling doesn't see the first method ??
24 
25  static Bool_t CreatePyROOTApplication( Bool_t bLoadLibs = kTRUE );
26 
27  static Bool_t InitROOTGlobals();
28  static Bool_t InitROOTMessageCallback();
29 
30 public:
31  TPyROOTApplication(
32  const char* acn, Int_t* argc, char** argv, Bool_t bLoadLibs = kTRUE );
33 
34  virtual ~TPyROOTApplication() { }
35  ClassDef(TPyROOTApplication,0) //Setup interactive application
36 };
37 
38 } // namespace PyROOT
39 
40 #endif