summaryrefslogtreecommitdiff
path: root/src/dv1394.h
diff options
context:
space:
mode:
authordeva <deva>2005-04-19 11:19:53 +0000
committerdeva <deva>2005-04-19 11:19:53 +0000
commit9ea1160395b119536ba2ee74a99a4aba73c55711 (patch)
tree1990b0af29bed250d1d5d429c1ee46dd59afc6b1 /src/dv1394.h
parent322d53169f05269c6150019cb7fc7cd85c024cc8 (diff)
Isolated the dv1394 code in its own file.
Diffstat (limited to 'src/dv1394.h')
-rw-r--r--src/dv1394.h17
1 files changed, 17 insertions, 0 deletions
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 <config.h>
#ifndef __MIAV_DV1394_H__
#define __MIAV_DV1394_H__
+
+#include <libraw1394/raw1394.h>
+
+#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__*/