Ignore:
Timestamp:
05/05/03 10:37:08 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MLog.h

    r2054 r2058  
    1818
    1919
    20 class TGListBox;
     20class TGTextView;
    2121
    2222class MLog : public streambuf, public ostream, public TObject
     
    5454    Bool_t fIsNull;           //! Switch output completely off
    5555
    56     Int_t fGuiLineId;         //!
    57 
    58     ofstream  *fout;          //! possible file output stream
    59     Bool_t     fOutAllocated; //! flag if fout is created by MLogging
    60     TGListBox *fgui;          //! Listbox output
     56    ofstream   *fout;          //! possible file output stream
     57    Bool_t      fOutAllocated; //! flag if fout is created by MLogging
     58    TGTextView *fgui;          //! Text View output
    6159
    6260    Bool_t     fIsDirectGui;  //! Pipe text directly to the GUI (for single threaded environments)
     
    8482    MLog(int i=eStdout);
    8583    MLog(ofstream &out);
    86     MLog(TGListBox &out);
     84    MLog(TGTextView &out);
    8785    MLog(const char *fname, int flag=-1);
    8886
     
    9795    void UpdateGui();
    9896
     97    void Underline();
     98
    9999    void SetDebugLevel(int i)           { fDebugLevel  =  i;  }
    100100    int  GetDebugLevel() const          { return fDebugLevel; }
     
    104104    void DisableOutputDevice(Flags_t f) { fDevice     &= ~f;  }
    105105    void operator=(ofstream &out)       { SetOutputFile(out); }
    106     void operator=(TGListBox *out)      { SetOutputGui(out);  }
     106    void operator=(TGTextView *out)     { SetOutputGui(out);  }
    107107
    108108    Bool_t IsOutputDeviceEnabled(int i) const { return fDevice & i; }
    109109
    110     void SetOutputGui(TGListBox *out, int flag=-1)
     110    void SetOutputGui(TGTextView *out, int flag=-1)
    111111    {
    112112        fgui = out;
Note: See TracChangeset for help on using the changeset viewer.