| Line |  | 
|---|
| 1 | #ifndef MARS_MSearch | 
|---|
| 2 | #define MARS_MSearch | 
|---|
| 3 |  | 
|---|
| 4 | #ifndef MARS_MAGIC | 
|---|
| 5 | #include "MAGIC.h" | 
|---|
| 6 | #endif | 
|---|
| 7 |  | 
|---|
| 8 | #ifndef ROOT_TGFrame | 
|---|
| 9 | #include <TGFrame.h> | 
|---|
| 10 | #endif | 
|---|
| 11 |  | 
|---|
| 12 | #ifndef ROOT_TGWidget | 
|---|
| 13 | #include <TGWidget.h> | 
|---|
| 14 | #endif | 
|---|
| 15 |  | 
|---|
| 16 | enum EMarsWidgetMessageTypes { | 
|---|
| 17 | kS_START = 1 | 
|---|
| 18 | }; | 
|---|
| 19 |  | 
|---|
| 20 | class MGList; | 
|---|
| 21 |  | 
|---|
| 22 | class MSearch : public TGTransientFrame, public TGWidget | 
|---|
| 23 | { | 
|---|
| 24 | private: | 
|---|
| 25 | MGList *fList; | 
|---|
| 26 |  | 
|---|
| 27 | Bool_t SendSearch(); | 
|---|
| 28 | void CloseWindow() { delete this; } | 
|---|
| 29 |  | 
|---|
| 30 | public: | 
|---|
| 31 | MSearch(const TGWindow *w, Int_t id=-1); | 
|---|
| 32 | virtual ~MSearch(); | 
|---|
| 33 |  | 
|---|
| 34 | Bool_t ProcessMessage(Long_t msg, Long_t mp1, Long_t mp2); | 
|---|
| 35 |  | 
|---|
| 36 | ClassDef(MSearch, 0)   // A simple progress bar window for the Eventloop | 
|---|
| 37 | }; | 
|---|
| 38 |  | 
|---|
| 39 | #endif | 
|---|
| 40 |  | 
|---|
| 41 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.