package com.imt.intimamedia.events.user { import com.imt.flex.cairngormExtended.event.SuperEvent; import com.imt.intimamedia.control.ApplicationController; import com.imt.intimamedia.vo.UserVo; import mx.controls.Alert; /** * Evénement de récupération des cgv pour un utilisateur */ public class TermsEvent extends SuperEvent { private var _user : UserVo; private var _country : String; public function TermsEvent( user : UserVo, country : String, dispatcher : * = null ) { super( ApplicationController.USER_TERMS ); this.user = user; this.country = country; this.dispatcher = dispatcher; } /** * Utilisateur transporté par l'événement * * @default null */ public function get user () : UserVo { return _user; } /** * @private */ public function set user ( value : UserVo ) : void { _user = value; } /** * Utilisateur transporté par l'événement * * @default null */ public function get country () : String { return _country; } /** * @private */ public function set country ( value : String ) : void { _country = value; } } }