// -*- mode: c++ -*- // // $Id: BrPathManager.h,v 1.2 2001/06/28 16:38:30 cholm Exp $ // $Author: cholm $ // $Date: 2001/06/28 16:38:30 $ // $Copyright: (C) 2001 BRAHMS Collaboration // #ifndef BRAT_BrPathManager #define BRAT_BrPathManager #ifndef ROOT_TObject #include "TObject.h" #endif class BrPathManager : public TObject { private: static BrPathManager* fgInstance; // Static singleton public: BrPathManager(); static BrPathManager* Instance(); const Char_t* GetDataDir() const; const Char_t* GetScriptDir() const; const Char_t* GetParameterDir() const; const Char_t* GetLibraryDir() const; const Char_t* GetHeaderDir() const; const Char_t* GetProgramDir() const; const Char_t* GetSourceDir() const; ClassDef(BrPathManager,0) // Serves BRAT path names to clients }; #endif //____________________________________________________________________ // // $Log: BrPathManager.h,v $ // Revision 1.2 2001/06/28 16:38:30 cholm // Added methods to retrive various installation directories, like // library, header, script, parameter, etc. directories. // // Revision 1.1.1.1 2001/06/21 14:55:15 hagel // Initial revision of brat2 // // Revision 1.1 2001/06/04 13:32:02 cholm // Warm-up for BRAT2. // Added file tag class. Added version class. Added path manager. // //