| Line |  | 
|---|
| 1 | #ifndef MARS_MLogHtml | 
|---|
| 2 | #define MARS_MLogHtml | 
|---|
| 3 |  | 
|---|
| 4 | #ifndef MARS_MLogPlugin | 
|---|
| 5 | #include "MLogPlugin.h" | 
|---|
| 6 | #endif | 
|---|
| 7 |  | 
|---|
| 8 | class MLogHtml : public MLogPlugin | 
|---|
| 9 | { | 
|---|
| 10 | private: | 
|---|
| 11 | ofstream *fOut; | 
|---|
| 12 |  | 
|---|
| 13 | Bool_t fUnderline; | 
|---|
| 14 | Int_t  fColor; | 
|---|
| 15 |  | 
|---|
| 16 | enum { kFontOpen=BIT(15) }; | 
|---|
| 17 |  | 
|---|
| 18 | public: | 
|---|
| 19 | MLogHtml(const char *name); | 
|---|
| 20 | MLogHtml() : fOut(0) | 
|---|
| 21 | { | 
|---|
| 22 | } | 
|---|
| 23 |  | 
|---|
| 24 | ~MLogHtml(); | 
|---|
| 25 |  | 
|---|
| 26 | void Underline(); | 
|---|
| 27 | void SetColor(int col); | 
|---|
| 28 | void WriteBuffer(const char *str, int len); | 
|---|
| 29 |  | 
|---|
| 30 | ClassDef(MLogHtml, 0) // Logger Plugin for HTML | 
|---|
| 31 | }; | 
|---|
| 32 |  | 
|---|
| 33 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.