4300945d11e5c0d290fc3c0a4b77816e27fdfe05
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveConfigManager.h
1 // $Id$
2 // Author: Matevz Tadel 2009
3
4 /**************************************************************************
5  * Copyright(c) 1998-2009, ALICE Experiment at CERN, all rights reserved. *
6  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
7  * full copyright notice.                                                 *
8  **************************************************************************/
9
10 #ifndef AliEveConfigManager_H
11 #define AliEveConfigManager_H
12
13 #include "TObject.h"
14
15 class TGPopupMenu;
16
17 //______________________________________________________________________________
18 // Short description of AliEveConfigManager
19 //
20
21 class AliEveConfigManager : public TObject
22 {
23 public:
24     static AliEveConfigManager* InitializeMaster();
25     static AliEveConfigManager* GetMaster();
26     
27     virtual ~AliEveConfigManager() {}
28     
29     void AliEvePopupHandler(Int_t id);
30     void SetEventInEventManager();
31     void StorageManagerChangedState(int state);
32     void DisableStoragePopup();
33
34     void ConnectEventManagerSignals();
35     
36 protected:
37     static AliEveConfigManager* fgMaster;  // Main instance.
38     
39     TGPopupMenu      *fAnalysisPopup; // AliEve menu with analysis tools.
40     TGPopupMenu      *fAliEvePopup; // AliEve menu.
41     TGPopupMenu      *fAliEveGeometries; // AliEve submenu - geometries.
42     TGPopupMenu      *fAliEvePictures; // AliEve submenu - saving pictures.
43     TGPopupMenu      *fAliEvePicturesHR; // AliEve submenu - saving pictures in high resolution.
44     TGPopupMenu      *fAliEveDataSelection; // AliEve submenu - Saving/Opening DataSelection macros.
45     TGPopupMenu      *fAliEveVizDBs; // AliEve submenu - Saving/Opening VizDB macros.
46     
47     Bool_t           fLoadCheck; //for Data Selection Save/Load
48     
49     // Storage Manager:
50     TGPopupMenu *fStoragePopup;
51     
52 private:
53     AliEveConfigManager();
54     
55     AliEveConfigManager(const AliEveConfigManager&);            // Not implemented
56     AliEveConfigManager& operator=(const AliEveConfigManager&); // Not implemented
57     
58     ClassDef(AliEveConfigManager, 0); // Short description.
59 };
60
61 #endif