From 9ea1160395b119536ba2ee74a99a4aba73c55711 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 19 Apr 2005 11:19:53 +0000 Subject: Isolated the dv1394 code in its own file. --- src/dv1394.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/dv1394.h') diff --git a/src/dv1394.h b/src/dv1394.h index 47d9e56..d05a7aa 100644 --- a/src/dv1394.h +++ b/src/dv1394.h @@ -26,4 +26,21 @@ #include #ifndef __MIAV_DV1394_H__ #define __MIAV_DV1394_H__ + +#include + +#include "error.h" + +class dv1394 { +public: + dv1394(Error *e = NULL, int port = 0, int channel = 63); // 63 is default channel... sucks. + ~dv1394(); + + unsigned char *readFrame(); + +private: + raw1394handle_t handle; + Error *errobj; +}; + #endif/*__MIAV_DV1394_H__*/ -- cgit v1.2.3