ROOT logo
// @(#)root/sessionviewer:$Id: TSessionLogView.h 20882 2007-11-19 11:31:26Z rdm $
// Author: Bertrand Bellenot, Gerri Ganis 15/09/2005

/*************************************************************************
 * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TSessionLogView
#define ROOT_TSessionLogView

#ifndef ROOT_TGFrame
#include "TGFrame.h"
#endif

#ifndef ROOT_TGButton
#include "TGButton.h"
#endif

#ifndef ROOT_TTextView
#include "TGTextView.h"
#endif

class TSessionViewer;

class TSessionLogView : public TGTransientFrame {

private:
   TSessionViewer       *fViewer;   // pointer on main viewer
   TGTextView           *fTextView; // Text view widget
   TGTextButton         *fClose;    // OK button
   TGLayoutHints        *fL1;       // layout of TGTextEdit
   TGLayoutHints        *fL2;       // layout of OK button

public:
   TSessionLogView(TSessionViewer *viewer, UInt_t w, UInt_t h);
   virtual ~TSessionLogView();

   void   AddBuffer(const char *buffer);
   void   LoadBuffer(const char *buffer);
   void   LoadFile(const char *file);

   Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);

   void   CloseWindow();
   void   ClearLogView();
   void   Popup();
   void   SetTitle();

   ClassDef(TSessionLogView, 0)  // PROOF progress dialog
};

#endif
 TSessionLogView.h:1
 TSessionLogView.h:2
 TSessionLogView.h:3
 TSessionLogView.h:4
 TSessionLogView.h:5
 TSessionLogView.h:6
 TSessionLogView.h:7
 TSessionLogView.h:8
 TSessionLogView.h:9
 TSessionLogView.h:10
 TSessionLogView.h:11
 TSessionLogView.h:12
 TSessionLogView.h:13
 TSessionLogView.h:14
 TSessionLogView.h:15
 TSessionLogView.h:16
 TSessionLogView.h:17
 TSessionLogView.h:18
 TSessionLogView.h:19
 TSessionLogView.h:20
 TSessionLogView.h:21
 TSessionLogView.h:22
 TSessionLogView.h:23
 TSessionLogView.h:24
 TSessionLogView.h:25
 TSessionLogView.h:26
 TSessionLogView.h:27
 TSessionLogView.h:28
 TSessionLogView.h:29
 TSessionLogView.h:30
 TSessionLogView.h:31
 TSessionLogView.h:32
 TSessionLogView.h:33
 TSessionLogView.h:34
 TSessionLogView.h:35
 TSessionLogView.h:36
 TSessionLogView.h:37
 TSessionLogView.h:38
 TSessionLogView.h:39
 TSessionLogView.h:40
 TSessionLogView.h:41
 TSessionLogView.h:42
 TSessionLogView.h:43
 TSessionLogView.h:44
 TSessionLogView.h:45
 TSessionLogView.h:46
 TSessionLogView.h:47
 TSessionLogView.h:48
 TSessionLogView.h:49
 TSessionLogView.h:50
 TSessionLogView.h:51
 TSessionLogView.h:52
 TSessionLogView.h:53
 TSessionLogView.h:54
 TSessionLogView.h:55
 TSessionLogView.h:56