summaryrefslogtreecommitdiff
path: root/src/dv1394.h
diff options
context:
space:
mode:
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__*/