r1053: Add Russian translation.
[cinelerra_cv.git] / cinelerra / autoconf.h
blob6f5bbb05967f101372fa1f90ff9c29e4cd03549a
1 #ifndef AUTOCONF_H
2 #define AUTOCONF_H
4 #include "automation.h"
5 #include "bchash.inc"
6 #include "filexml.inc"
7 #include "maxchannels.h"
8 #include "module.inc"
10 // Store what automation is visible.
12 class AutoConf
14 public:
15 AutoConf() {};
16 ~AutoConf() {};
18 AutoConf& operator=(AutoConf &that);
19 void copy_from(AutoConf *src);
20 int load_defaults(BC_Hash* defaults);
21 int save_defaults(BC_Hash* defaults);
22 void load_xml(FileXML *file);
23 void save_xml(FileXML *file);
24 int set_all(int value = 1); // set all parameters to value (default = 1)
27 // The array entries correspond to the Automation enums.
28 int autos[AUTOMATION_TOTAL];
30 // Other viewable things
31 int transitions;
32 int plugins;
35 #endif