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 | #ifndef COORD_H
|
---|
12 | #include <coord.h>
|
---|
13 | #endif
|
---|
14 |
|
---|
15 | typedef unsigned char byte;
|
---|
16 |
|
---|
17 | class Writer;
|
---|
18 |
|
---|
19 | class Writer
|
---|
20 | {
|
---|
21 | public:
|
---|
22 |
|
---|
23 | static void Ppm(const char *fname, const byte *img, struct timeval *date, const XY xy);
|
---|
24 | static void Png(const char *fname, const byte *buf, struct timeval *date, const XY xy);
|
---|
25 |
|
---|
26 | ClassDef(Writer, 0)
|
---|
27 | };
|
---|
28 |
|
---|
29 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.