Changeset 9581 for trunk


Ignore:
Timestamp:
05/05/10 11:05:52 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc

    r9580 r9581  
    24162416// Writes the contents of a MStatusDisplay to a file.
    24172417//
    2418 Int_t MStatusDisplay::Write(Int_t num, const char *name, Int_t /*option*/, Int_t /*bufsize*/) const
     2418Int_t MStatusDisplay::Write(Int_t num, const char *name, Option_t *opt) const
    24192419{
    24202420    if (!gFile)
     
    24572457    TNamed named("Title", fTitle.Data());
    24582458
    2459     if (TString(option)=="plain")
     2459    if (TString(opt)=="plain")
    24602460    {
    24612461        // Get canvas range to store
  • trunk/MagicSoft/Mars/mbase/MStatusDisplay.h

    r9578 r9581  
    289289
    290290     // Root I/O
    291      Int_t Write(Int_t num, const char *name="MStatusDisplay", Int_t option=0, Int_t bufsize=0) const;
     291     Int_t Write(Int_t num, const char *name="MStatusDisplay", Option_t *opt="") const;
    292292
    293293     Int_t Read(const char *name, const char *tab);
    294294     Int_t Read(const char *name="MStatusDisplay") { return Read(name, 0); }
    295      Int_t Write(const char *name="MStatusDisplay", Int_t option=0, Int_t bufsize=0) { return Write(-1, name, option, bufsize); }
    296      Int_t Write(const char *name="MStatusDisplay", Int_t option=0, Int_t bufsize=0) const { return Write(-1, name, option, bufsize); }
     295     Int_t Write(const char *name="MStatusDisplay", Int_t option=0, Int_t bufsize=0) { return Write(-1, name); }
     296     Int_t Write(const char *name="MStatusDisplay", Int_t option=0, Int_t bufsize=0) const { return Write(-1, name); }
    297297
    298298     // Eventloop interface
Note: See TracChangeset for help on using the changeset viewer.