Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TGCommandPlugin.h
Go to the documentation of this file.
1 // @(#)root/gui:$Id$
2 // Author: Bertrand Bellenot 26/09/2007
3 
4 #ifndef ROOT_TGCommandPlugin
5 #define ROOT_TGCommandPlugin
6 
7 #include "TGFrame.h"
8 
9 class TGLabel;
10 class TGComboBox;
11 class TGTextEntry;
12 class TGTextBuffer;
13 class TGTextView;
14 class TTimer;
15 
16 class TGCommandPlugin : public TGMainFrame {
17 
18 protected:
19  Int_t fPid; // current process id
20  TGHorizontalFrame *fHf; // horizontal frame
21  TGLabel *fLabel; // "command :" label
22  TGComboBox *fComboCmd; // commands combobox
23  TGTextEntry *fCommand; // command text entry widget
24  TGTextBuffer *fCommandBuf; // command text buffer
25  TGTextView *fStatus; // output capture view
26  TTimer *fTimer; // for local/remote update
27 
28 public:
29 
30  TGCommandPlugin(const TGWindow *p, UInt_t w, UInt_t h);
31  virtual ~TGCommandPlugin();
32 
33  void CheckRemote(const char * /*str*/);
34  void HandleCommand();
35 
36  virtual Bool_t HandleTimer(TTimer *t);
37 
38  ClassDef(TGCommandPlugin, 0) // Command (I/O redirection) plugin for the new ROOT Browser
39 };
40 
41 #endif