realtimenetprots/sipfw/SIP/ConnectionMgr/src/CStateModel.h
changeset 54 e4420734a2a0
parent 0 307788aac0a8
equal deleted inserted replaced
50:a003f0e60a07 54:e4420734a2a0
    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();