ROOT logo
// @(#)root/gui:$Id: TRootApplication.h 23115 2008-04-10 13:35:37Z rdm $
// Author: Fons Rademakers   15/01/98

/*************************************************************************
 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/


#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
#include "TApplicationImp.h"
#endif


class TGClient;


class TRootApplication : public TApplicationImp {

private:
   TGClient    *fClient;        // pointer to the client environment
   char        *fDisplay;       // display server to connect to

   TRootApplication() { fClient = 0; fDisplay = 0; }
   void GetOptions(Int_t *argc, char **argv);

public:
   TRootApplication(const char *appClassName, Int_t *argc, char **argv);
   virtual ~TRootApplication();

   TGClient     *Client() const { return fClient; }

   void    Show() { }
   void    Hide() { }
   void    Iconify() { }
   Bool_t  IsCmdThread();
   void    Init() { }
   void    Open() { }
   void    Raise() { }
   void    Lower() { }

   ClassDef(TRootApplication,0)  // ROOT native GUI application environment
};

#endif
 TRootApplication.h:1
 TRootApplication.h:2
 TRootApplication.h:3
 TRootApplication.h:4
 TRootApplication.h:5
 TRootApplication.h:6
 TRootApplication.h:7
 TRootApplication.h:8
 TRootApplication.h:9
 TRootApplication.h:10
 TRootApplication.h:11
 TRootApplication.h:12
 TRootApplication.h:13
 TRootApplication.h:14
 TRootApplication.h:15
 TRootApplication.h:16
 TRootApplication.h:17
 TRootApplication.h:18
 TRootApplication.h:19
 TRootApplication.h:20
 TRootApplication.h:21
 TRootApplication.h:22
 TRootApplication.h:23
 TRootApplication.h:24
 TRootApplication.h:25
 TRootApplication.h:26
 TRootApplication.h:27
 TRootApplication.h:28
 TRootApplication.h:29
 TRootApplication.h:30
 TRootApplication.h:31
 TRootApplication.h:32
 TRootApplication.h:33
 TRootApplication.h:34
 TRootApplication.h:35
 TRootApplication.h:36
 TRootApplication.h:37
 TRootApplication.h:38
 TRootApplication.h:39
 TRootApplication.h:40
 TRootApplication.h:41
 TRootApplication.h:42
 TRootApplication.h:43
 TRootApplication.h:44
 TRootApplication.h:45
 TRootApplication.h:46
 TRootApplication.h:47
 TRootApplication.h:48
 TRootApplication.h:49
 TRootApplication.h:50
 TRootApplication.h:51
 TRootApplication.h:52
 TRootApplication.h:53
 TRootApplication.h:54
 TRootApplication.h:55
 TRootApplication.h:56
 TRootApplication.h:57
 TRootApplication.h:58
 TRootApplication.h:59
 TRootApplication.h:60
 TRootApplication.h:61
 TRootApplication.h:62