summaryrefslogtreecommitdiff
path: root/src/dv1394.h
diff options
context:
space:
mode:
authordeva <deva>2005-07-28 15:31:18 +0000
committerdeva <deva>2005-07-28 15:31:18 +0000
commit9111e70794105f984df5b66bba81adc769bd5001 (patch)
tree7901a79eff5b948185374472fa72220bfd172b64 /src/dv1394.h
parentc1e99b4951bd5e376cfab14cb6870869e60b91a2 (diff)
*** empty log message ***
Diffstat (limited to 'src/dv1394.h')
-rw-r--r--src/dv1394.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/dv1394.h b/src/dv1394.h
index c63899e..7cea9d0 100644
--- a/src/dv1394.h
+++ b/src/dv1394.h
@@ -30,20 +30,25 @@
#ifdef USE_GUI
+#include "frame_stream.h"
#include <libraw1394/raw1394.h>
#include "info.h"
-class dv1394 {
+class dv1394 : public frame_stream {
public:
- dv1394(Info* ginfo, int port = 0, int channel = 63); // 63 is default channel... sucks.
+ dv1394(Info* info, int port = 0, int channel = 63); // 63 is default channel... sucks.
~dv1394();
+ bool connect();
+
unsigned char *readFrame();
private:
raw1394handle_t handle;
Info *info;
+ int port;
+ int channel;
};
#endif/*__MIAV_DV1394_H__*/