Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TGApplication.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/gui:$Id$
0002 // Author: Guy Barrand   30/05/2001
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2021, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TGApplication
0013 #define ROOT_TGApplication
0014 
0015 
0016 #include "TApplication.h"
0017 
0018 class TGClient;
0019 
0020 
0021 class TGApplication : public TApplication {
0022 
0023 private:
0024    TString        fDisplay;           ///< display server to connect to
0025    TGClient      *fClient{nullptr};   ///< pointer to the client environment
0026 
0027 protected:
0028    TGApplication() : TApplication() {}
0029    void LoadGraphicsLibs() override;
0030 
0031 public:
0032    TGApplication(const char *appClassName,
0033                  Int_t *argc, char **argv,
0034                  void *options = nullptr, Int_t numOptions = 0);
0035    ~TGApplication() override;
0036 
0037    void GetOptions(Int_t *argc, char **argv) override;
0038 
0039    ClassDefOverride(TGApplication,0)  //GUI application singleton
0040 };
0041 
0042 #endif