source:
trunk/MagicSoft/Cosy/videodev/Writer.h@
2350
| Last change on this file since 2350 was 1816, checked in by , 23 years ago | |
|---|---|
| File size: 385 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 | typedef unsigned char byte; |
| 12 | |
| 13 | class Writer; |
| 14 | |
| 15 | class Writer |
| 16 | { |
| 17 | public: |
| 18 | |
| 19 | static void Ppm(const char *fname, const byte *img, struct timeval *date); |
| 20 | static void Png(const char *fname, const byte *buf, struct timeval *date); |
| 21 | |
| 22 | ClassDef(Writer, 0) |
| 23 | }; |
| 24 | |
| 25 | #endif |
Note:
See TracBrowser
for help on using the repository browser.
