--- chewbacca/YodaProfiler/inc/GLTables.h 2009/12/15 09:58:24 1.8 +++ chewbacca/YodaProfiler/inc/GLTables.h 2009/12/15 10:23:28 1.9 @@ -79,8 +79,11 @@ public: Q2TH(TString h="$PAM_DBHOST", TString u="$PAM_DBUSER", TString p="$PAM_DBPSW"); + ~Q2TH(){ if ( dbc ) dbc->Close(); delete dbc; }; TObject *Draw(TString query, Bool_t verbose = false, TString hname="q2th"); + void Open(TString h="$PAM_DBHOST", TString u="$PAM_DBUSER", TString p="$PAM_DBPSW"); + void Close(){ if ( dbc ) dbc->Close(); delete dbc; }; ClassDef(Q2TH,1); // 2