]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MONITOR/AliMonitorDialog.h
Fix aborting error
[u/mrichter/AliRoot.git] / MONITOR / AliMonitorDialog.h
index 81e22db9f44e925de37c6dab6c1510dd1b86abda..f42300118496b12a845a5ed623d70cf0a3d6148f 100644 (file)
@@ -5,10 +5,14 @@
 
 /* $Id$ */
 
-#include <TGFrame.h>
-#include <TGButton.h>
-#include <TGLabel.h>
 #include <RQ_OBJECT.h>
+#include <TObject.h>
+
+class TGFrame;
+class TGTransientFrame;
+class TGLayoutHints;
+class TGHorizontalFrame;
+class TGTextButton;
 
 
 class AliMonitorDialog : public TObject {
@@ -20,21 +24,25 @@ public:
                   Bool_t cancelBtn = kTRUE);
   virtual ~AliMonitorDialog();
 
-  void               CloseWindow();
+  void               CloseWindow() const;
   void               DoOk();
   virtual void       OnOkClicked() {};
   void               DoCancel();
   virtual void       OnCancelClicked() {};
 
 protected:
-  TGTransientFrame*  fMain;
-  TGLayoutHints*     fFrameLayout;
-  TGHorizontalFrame* fFrame;
-  TGLayoutHints*     fButtonFrameLayout;
-  TGHorizontalFrame* fButtonFrame;
-  TGLayoutHints*     fButtonLayout;
-  TGTextButton*      fOkButton;
-  TGTextButton*      fCancelButton;
+  TGTransientFrame*  fMain;                // the main window
+  TGLayoutHints*     fFrameLayout;         // layout of the main frame
+  TGHorizontalFrame* fFrame;               // the main frame
+  TGLayoutHints*     fButtonFrameLayout;   // layout of the buttons frame
+  TGHorizontalFrame* fButtonFrame;         // the frame for buttons
+  TGLayoutHints*     fButtonLayout;        // layout of the buttons
+  TGTextButton*      fOkButton;            // the Ok button
+  TGTextButton*      fCancelButton;        // the cancel button
+
+ private:
+  AliMonitorDialog(const AliMonitorDialog& dlg);
+  AliMonitorDialog& operator = (const AliMonitorDialog& dlg);
 
   ClassDef(AliMonitorDialog, 0)   // base class for dialogs with ok and cancel button
 };