Last change
on this file since 19952 was 18618, checked in by tbretz, 8 years ago |
Copied files from Mars and Cosy to compile toold which fit our current drivectrl.
|
File size:
466 bytes
|
Line | |
---|
1 | #ifndef WRITER_H
|
---|
2 | #define WRITER_H
|
---|
3 |
|
---|
4 | #ifdef __CINT__
|
---|
5 | struct timeval;
|
---|
6 | #else
|
---|
7 | #include <TROOT.h>
|
---|
8 | #include <sys/time.h>
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | class TVector2;
|
---|
12 |
|
---|
13 | typedef unsigned char byte;
|
---|
14 |
|
---|
15 | class Writer;
|
---|
16 |
|
---|
17 | class Writer
|
---|
18 | {
|
---|
19 | public:
|
---|
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.