r802: Remove renderframfsclient and renderfarmfsserver .h and .C from Makefile.am...
[cinelerra_cv/mob.git] / cinelerra / channel.h
blob8d1d1eac6ad22f66fd1bba7e12c47d5d0e7a83d3
1 #ifndef CHANNEL_H
2 #define CHANNEL_H
4 #include "bcwindowbase.inc"
5 #include "defaults.inc"
6 #include "filexml.inc"
8 // Used by both GUI to change channels and devices to map channels to
9 // device parameters.
11 class Channel
13 public:
14 Channel();
15 Channel(Channel *channel);
16 ~Channel();
18 void reset();
19 Channel& operator=(Channel &channel);
20 void copy_settings(Channel *channel);
21 void copy_usage(Channel *channel);
22 int load(FileXML *file);
23 int save(FileXML *file);
24 // Only used for channel scanning
25 void load_defaults(Defaults *defaults);
26 void save_defaults(Defaults *defaults);
29 // Flags for GUI settings the device uses
30 int use_frequency;
31 int use_fine;
32 int use_norm;
33 int use_input;
34 // Device supports scanning
35 int has_scanning;
39 // User supplied name
40 char title[BCTEXTLEN];
41 // Name given by device for the channel
42 char device_name[BCTEXTLEN];
43 // Number of the table entry in the appropriate freqtable
44 int entry;
45 // Table to use
46 int freqtable;
47 // Fine tuning offset
48 int fine_tune;
49 // Input source
50 int input;
51 int norm;
52 // Index used by the device
53 int device_index;
54 // Tuner number used by the device
55 int tuner;
59 #endif