//+SEQ,CopyRight,T=NOINCLUDE. #ifndef ROOT_TRootApplication #define ROOT_TRootApplication ////////////////////////////////////////////////////////////////////////// // // // TRootApplication // // // // This class create the ROOT native GUI version of the ROOT // // application environment. This in contrast the Win32 version. // // Once the native widgets work on Win32 this class can be folded into // // the TApplication class (since all graphic will go via TVirtualX). // // // ////////////////////////////////////////////////////////////////////////// #ifndef ROOT_TApplicationImp //*KEEP,TApplicationImp,T=C++. #include "TApplicationImp.h" //*KEND. #endif class TGClient; class TRootApplication : public TApplicationImp { private: TGClient *fClient; // pointer to the client environment char *fAppClassName; // application class name char *fDisplay; // display server to conntect to TRootApplication() { fClient = 0; fAppClassName = fDisplay = 0; } void GetOptions(Int_t *argc, char **argv); public: TRootApplication(const char *appClassName, Int_t *argc, char **argv, void *options = 0, Int_t numOptions = 0); virtual ~TRootApplication(); const char *ApplicationClassName() const { return fAppClassName; } TGClient *Client() const { return fClient; } void Show() { } void Hide() { } void Iconify() { } Bool_t IsCmdThread() { return kTRUE; } // by default (for UNIX) ROOT is a single thread application void Init() { } void Open() { } void Raise() { } void Lower() { } ClassDef(TRootApplication,0) // ROOT native GUI application environment }; #endif