/*--------------------------------------------------------------- Constructor ---------------------------------------------------------------*/ CActionCollection::CActionCollection(CAction &a ) : m_actions() { m_actions.push_back( CActionPtr( static_cast<CAction*>(a.duplicate()) ) ); }
/*--------------------------------------------------------------- insert ---------------------------------------------------------------*/ void CActionCollection::insert(CAction &action) { m_actions.push_back( CActionPtr( static_cast<CAction*>( action.duplicate() )) ); }