r665: Merged the official release 2.0.
[cinelerra_cv.git] / cinelerra / autoconf.h
blobc58140f18ac93964f0cbc29d0e10a8165b8f1cba
1 #ifndef AUTOCONF_H
2 #define AUTOCONF_H
4 #include "automation.h"
5 #include "defaults.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(Defaults* defaults);
21 int save_defaults(Defaults* 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