Module: sems Branch: master Commit: 4102960088f11814f2ea0272f25fb46bbfde244e URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=4102960088f11814f2ea0272f25fb46bbfde244e
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Thu Feb 23 14:31:16 2012 +0100 b/f: dsm: fix NamedAction::execute(…) --- apps/dsm/DSMChartReader.h | 6 +++++- apps/dsm/DSMStateEngine.h | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/apps/dsm/DSMChartReader.h b/apps/dsm/DSMChartReader.h index 04530ef..34db5ba 100644 --- a/apps/dsm/DSMChartReader.h +++ b/apps/dsm/DSMChartReader.h @@ -39,7 +39,11 @@ class NamedAction : public DSMAction { NamedAction(const string& m_name) { name = m_name; } - void execute(AmSession* sess) { }; + bool execute(AmSession* sess, DSMSession* sc_sess, + DSMCondition::EventType event, + map<string,string>* event_params) { + return false; + }; }; class AttribInitial : public DSMElement { diff --git a/apps/dsm/DSMStateEngine.h b/apps/dsm/DSMStateEngine.h index 33db73e..8aa0388 100644 --- a/apps/dsm/DSMStateEngine.h +++ b/apps/dsm/DSMStateEngine.h @@ -129,7 +129,8 @@ class DSMAction virtual ~DSMAction() { /* DBG("dest action\n"); */ } /** @return whether state engine is to be modified (via getSEAction) */ - virtual bool execute(AmSession* sess, DSMSession* sc_sess, DSMCondition::EventType event, \ + virtual bool execute(AmSession* sess, DSMSession* sc_sess, + DSMCondition::EventType event, map<string,string>* event_params) = 0; /** @return state engine modification */ _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
