13
0
livetrax/libs/surfaces/control_protocol/control_protocol
John Emmas b9bbea7174 It might not be obvious why... but 'ARDOUR::ControlProtocol::name()' needs to be a virtual function
Basically, libardour is calling functions from libardour_cp and vice versa. For example, libardour needs 'ARDOUR::ControlProtocol::name()' whereas ardour_cp needs 'ARDOUR::Route::soloed()' and various others. Ordinarily, this would require each library to get built before the other one! :-(

To get around this (in MSVC at least) one of the libraries must be forced to use late binding (e.g. by declaring its functions as 'virtual'). It looks like this is already being done for most of the other functions from 'ARDOUR::ControlProtocol', so let's do it for this function too...
2017-05-15 14:46:34 +01:00
..
basic_ui.h
control_protocol.h It might not be obvious why... but 'ARDOUR::ControlProtocol::name()' needs to be a virtual function 2017-05-15 14:46:34 +01:00
types.h
visibility.h