Changeset 14866 for trunk/FACT++/gui


Ignore:
Timestamp:
02/05/13 13:56:52 (12 years ago)
Author:
lyard
Message:
Fixed viewer compilation after ofits.h update. Oddly enough, the viewer is NOT writing fits files...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.h

    r14791 r14866  
    1212#define NPIX       1440      // max. number of pixels
    1313#define NTMARK      160      // max. number of timeMarker signals
     14
     15//get rid of the ofits.h inclusion and various other messy items in DrsCalib.h
     16//It has nothing to do here, and it creates compilation errors
     17//the proper way would be to re-design the inclusion scheme,
     18//but that's beyond the time I can allocate to this fix.
     19#define MARS_ofits
     20namespace std
     21{
     22 class ofits
     23 {
     24     public:
     25         ofits(){};
     26         ofits(const char*){};
     27         ~ofits(){};
     28         bool operator !(){return false;}
     29         void AddColumnInt(const char* ){};
     30         void AddColumnFloat(int, const char*, const char*){};
     31         void SetInt(const char*, int, const char*){};
     32         void WriteTableHeader(const char*){};
     33         bool WriteRow(const void*, long unsigned int ){return false;};
     34 };
     35};
     36typedef int Int_t;
    1437
    1538//#define LOAD_RAW
Note: See TracChangeset for help on using the changeset viewer.