30 #include "ardour/utils.h"
66 #undef CONFIG_VARIABLE
67 #undef CONFIG_VARIABLE_SPECIAL
68 #define CONFIG_VARIABLE(Type,var,name,value) \
69 Type get_##var () const { return var.get(); } \
70 bool set_##var (Type val) { bool ret = var.set (val); if (ret) { ParameterChanged (name); } return ret; }
71 #define CONFIG_VARIABLE_SPECIAL(Type,var,name,value,mutator) \
72 Type get_##var () const { return var.get(); } \
73 bool set_##var (Type val) { bool ret = var.set (val); if (ret) { ParameterChanged (name); } return ret; }
75 #undef CONFIG_VARIABLE
76 #undef CONFIG_VARIABLE_SPECIAL
82 #undef CONFIG_VARIABLE
83 #undef CONFIG_VARIABLE_SPECIAL
84 #define CONFIG_VARIABLE(Type,var,name,value) PBD::ConfigVariable<Type> var;
85 #define CONFIG_VARIABLE_SPECIAL(Type,var,name,value,mutator) PBD::ConfigVariableWithMutation<Type> var;
87 #undef CONFIG_VARIABLE
88 #undef CONFIG_VARIABLE_SPECIAL
void add_instant_xml(XMLNode &)
XMLNode * transport_master_state()
XMLNode * instant_xml(const std::string &str)
void set_variables(XMLNode const &)
XMLNode * control_protocol_state()
XMLNode & get_variables(std::string const &nodename) const
XMLNode * _transport_master_state
int set_state(XMLNode const &, int version)
XMLNode & get_state() const
void map_parameters(std::function< void(std::string)> &)
std::map< std::string, PBD::ConfigVariableBase * > _my_variables
XMLNode * _control_protocol_state