r1005: Increase the number of displayed digits for resample audio dialog box
[cinelerra_cv/mob.git] / cinelerra / avc1394control.h
blobc55b434baf3689255fd9b4f06c69307517892094
1 #ifndef _AVC1394Control_H
2 #define _AVC1394Control_H
5 #include "bcwindowbase.inc"
6 #include <libavc1394/rom1394.h>
7 #include <libavc1394/avc1394.h>
8 #include <libavc1394/avc1394_vcr.h>
9 #include "mutex.inc"
10 #include <libraw1394/raw1394.h>
11 #include <sys/types.h>
12 #include <stdio.h>
13 #include <errno.h>
14 #include <stdlib.h>
16 class AVC1394Control
18 public:
19 AVC1394Control();
20 ~AVC1394Control();
22 void initialize();
24 void play();
25 void reverse();
26 void stop();
27 void pause();
28 void rewind();
29 void fforward();
30 void record();
31 void eject();
32 void get_status();
33 void seek(char *time);
34 char *timecode();
35 int device;
36 int status;
37 Mutex *device_lock;
38 // Set by last button pressed to determine the effect of a second press of the
39 // same button. Command is from transportque.inc
40 int current_command;
42 private:
43 rom1394_directory rom_dir;
44 raw1394handle_t handle;
45 char text_return[BCTEXTLEN];
48 #endif