| Line |  | 
|---|
| 1 | #ifndef MARS_MGList | 
|---|
| 2 | #define MARS_MGList | 
|---|
| 3 |  | 
|---|
| 4 | #ifndef ROOT_TList | 
|---|
| 5 | #include <TList.h> | 
|---|
| 6 | #endif | 
|---|
| 7 |  | 
|---|
| 8 | class TGWidget; | 
|---|
| 9 |  | 
|---|
| 10 | class MGList : public TList | 
|---|
| 11 | { | 
|---|
| 12 | private: | 
|---|
| 13 | TGWidget *GetWidget(TObject *obj) const; | 
|---|
| 14 | Bool_t    IsExisting(TObject *obj) const; | 
|---|
| 15 |  | 
|---|
| 16 | public: | 
|---|
| 17 | MGList() : TList() {} | 
|---|
| 18 |  | 
|---|
| 19 | void Add(TObject *obj); | 
|---|
| 20 | void Add(TObject *obj, Option_t *opt); | 
|---|
| 21 |  | 
|---|
| 22 |  | 
|---|
| 23 | TObject *FindWidget(Int_t id) const; | 
|---|
| 24 |  | 
|---|
| 25 | ClassDef(MGList, 0) | 
|---|
| 26 | }; | 
|---|
| 27 |  | 
|---|
| 28 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.