r286: Heroine Virutal's official release 1.2.0
[cinelerra_cv/ct.git] / hvirtual / cinelerra / avc1394control.h
blob1d6fa59fc44b2382e05139956444382517ff27ce
1 #ifndef _AVC1394Control_H
2 #define _AVC1394Control_H
5 #include "librom1394/rom1394.h"
6 #include "libavc1394/avc1394.h"
7 #include "libavc1394/avc1394_vcr.h"
8 #include "mutex.inc"
9 #include "libraw1394/raw1394.h"
10 #include <sys/types.h>
11 #include <stdio.h>
12 #include <errno.h>
13 #include <stdlib.h>
15 class AVC1394Control
17 public:
18 AVC1394Control();
19 ~AVC1394Control();
21 void initialize();
23 void play();
24 void reverse();
25 void stop();
26 void pause();
27 void rewind();
28 void fforward();
29 void record();
30 void eject();
31 void get_status();
32 void seek(char *time);
33 char *timecode();
34 int device;
35 int status;
36 Mutex *device_lock;
37 // Set by last button pressed to determine the effect of a second press of the
38 // same button. Command is from transportque.inc
39 int current_command;
41 private:
42 rom1394_directory rom_dir;
43 raw1394handle_t handle;
47 #endif