StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StCheckQtEnv.h
1 //*-- Author : Valery Fine(fine@bnl.gov) 27/10/2006
2 //
3 // $Id: StCheckQtEnv.h,v 1.3 2008/02/09 01:17:26 fine Exp $
4 // This class sets the Qt/Root environment "on fly" and
5 // generates the correct ROOT resource ".rootrc" file
6 // also
7 #ifndef STAR_StCheckQtEnv
8 #define STAR_StCheckQtEnv
9 
10 #include <stdio.h>
11 #include "TString.h"
12 
13 class StCheckQtEnv {
14 
15 public:
16  static FILE *OpeFileName(const char *fileNamePrototype);
17  static TString GetNewFileName(const char *fileNamePrototype);
18  static Int_t SetRootResource(FILE *file, const char *plugin,
19  const char *lib,
20  const char *full=0,Bool_t append=kFALSE);
21 
22  static Long_t SetQtEnv(bool checkCoin=true);
23 };
24 #endif