/usr/include/root/TGApplication.h is in libroot-gui-dev 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | // @(#)root/gui:$Id$
// Author: Guy Barrand 30/05/2001
/*************************************************************************
* Copyright (C) 2001, Guy Barrand. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TGApplication
#define ROOT_TGApplication
//////////////////////////////////////////////////////////////////////////
// //
// TGApplication //
// //
// This class initialize the ROOT GUI toolkit. //
// This class must be instantiated exactly once in any given //
// application. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TApplication
#include "TApplication.h"
#endif
class TGClient;
class TGApplication : public TApplication {
private:
char *fDisplay; // display server to connect to
TGClient *fClient; // pointer to the client environment
protected:
TGApplication() : fDisplay(0), fClient(0) { }
virtual void LoadGraphicsLibs();
public:
TGApplication(const char *appClassName,
Int_t *argc, char **argv,
void *options = 0, Int_t numOptions = 0);
virtual ~TGApplication();
virtual void GetOptions(Int_t *argc, char **argv);
ClassDef(TGApplication,0) //GUI application singleton
};
#endif
|