00001 #ifndef AUTOCONF_H 00002 #define AUTOCONF_H 00003 00004 #include "automation.h" 00005 #include "defaults.inc" 00006 #include "filexml.inc" 00007 #include "maxchannels.h" 00008 #include "module.inc" 00009 00010 // Store what automation is visible. 00011 00012 class AutoConf 00013 { 00014 public: 00015 AutoConf() {}; 00016 ~AutoConf() {}; 00017 00018 AutoConf& operator=(AutoConf &that); 00019 void copy_from(AutoConf *src); 00020 int load_defaults(Defaults* defaults); 00021 int save_defaults(Defaults* defaults); 00022 void load_xml(FileXML *file); 00023 void save_xml(FileXML *file); 00024 int set_all(int value = 1); // set all parameters to value (default = 1) 00025 00026 00027 // The array entries correspond to the Automation enums. 00028 int autos[AUTOMATION_TOTAL]; 00029 00030 // Other viewable things 00031 int transitions; 00032 int plugins; 00033 }; 00034 00035 #endif
1.4.4