Author: derek Date: Sun Mar 30 17:52:10 2008 New Revision: 399 Modified: sofaswitch/trunk/mcu/supervisor.cxx sofaswitch/trunk/mcu/supervisor.h Log: Get it to compile with the new ptlib/opal combo. Modified: sofaswitch/trunk/mcu/supervisor.cxx ============================================================================== --- sofaswitch/trunk/mcu/supervisor.cxx (original) +++ sofaswitch/trunk/mcu/supervisor.cxx Sun Mar 30 17:52:10 2008 @@ -55,6 +55,11 @@ PTRACE(3, "end of this supervisor "); } +void Supervisor::ProcessAnswer(PStringArray &cmds, PString & sender) +{ + PAssertAlways("ProcessAnswer Should not called in the context of an MCU"); +} + void Supervisor::OnTermination() { PTRACE(3, "Supervisor thread has ended"); Modified: sofaswitch/trunk/mcu/supervisor.h ============================================================================== --- sofaswitch/trunk/mcu/supervisor.h (original) +++ sofaswitch/trunk/mcu/supervisor.h Sun Mar 30 17:52:10 2008 @@ -60,6 +60,12 @@ ~Supervisor(); protected: + /**we have received a command advising us how to answer to the incoming + call, so we act as required and reply accordingly. The mcu does not + actually handle this at the moment. We are required to declare this + method, as ProcessAnswer is pure, in the ancestor.*/ + virtual void ProcessAnswer(PStringArray &cmds, PString & sender); + /**The supervisor has completed. This method is called when this supervisor instance terminates. Since there is only one Supervisor instance, this method is only every called once. */