#ifndef WRITER_H #define WRITER_H #ifdef __CINT__ struct timeval; #else #include #include #endif #ifndef COORD_H #include #endif typedef unsigned char byte; class Writer; class Writer { public: static void Ppm(const char *fname, const byte *img, struct timeval *date, const XY xy); static void Png(const char *fname, const byte *buf, struct timeval *date, const XY xy); ClassDef(Writer, 0) }; #endif