diff options
Diffstat (limited to 'src/dv1394.h')
-rw-r--r-- | src/dv1394.h | 9 |
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__*/ |