source: trunk/Cosy/videodev/Writer.h@ 19982

Last change on this file since 19982 was 8847, checked in by tbretz, 17 years ago
*** empty log message ***
File size: 466 bytes
Line 
1#ifndef WRITER_H
2#define WRITER_H
3
4#ifdef __CINT__
5struct timeval;
6#else
7#include <TROOT.h>
8#include <sys/time.h>
9#endif
10
11class TVector2;
12
13typedef unsigned char byte;
14
15class Writer;
16
17class Writer
18{
19public:
20 virtual ~Writer() { }
21
22 static void Ppm(const char *fname, const byte *img, struct timeval *date, const TVector2 xy);
23 static void Png(const char *fname, const byte *buf, struct timeval *date, const TVector2 xy);
24
25 ClassDef(Writer, 0)
26};
27
28#endif
Note: See TracBrowser for help on using the repository browser.