realtimenetprots/sipfw/SIP/ConnectionMgr/src/CStateModel.h
changeset 51 8134400f8f89
parent 0 307788aac0a8
equal deleted inserted replaced
48:e3fccba1f02f 51:8134400f8f89
    87 								  TInt aError );
    87 								  TInt aError );
    88 
    88 
    89 	private: // New methods
    89 	private: // New methods
    90 
    90 
    91 		/// @return Reference to the active state instance.
    91 		/// @return Reference to the active state instance.
    92 		inline TStateBase& State() const;
    92 		inline TStateBase& State() const 
       
    93             {
       
    94 		    return const_cast< TStateBase& >( iStates.At( iStateValue ) );
       
    95 		    }
    93 
    96 
    94 	private: // Constructors
    97 	private: // Constructors
    95 
    98 
    96 		/// Default constructor. Not implemented.
    99 		/// Default constructor. Not implemented.
    97 		CStateModel();
   100 		CStateModel();