phoneapp/phoneuiutils/src/tphonecmdparamstring.cpp
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 51 f39ed5e045e0
child 62 5266b1f337bd
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
    28 // might leave.
    28 // might leave.
    29 // -----------------------------------------------------------------------------
    29 // -----------------------------------------------------------------------------
    30 //
    30 //
    31 EXPORT_C TPhoneCmdParamString::TPhoneCmdParamString() :
    31 EXPORT_C TPhoneCmdParamString::TPhoneCmdParamString() :
    32     TPhoneCommandParam(),
    32     TPhoneCommandParam(),
    33 	iString( NULL )
    33     iString( NULL )
    34     {
    34     {
    35     iParamId = EPhoneParamIdString;
    35     iParamId = EPhoneParamIdString;
    36     }
    36     }
    37 
    37 
    38 // ---------------------------------------------------------
    38 // ---------------------------------------------------------
    40 // Sets the string
    40 // Sets the string
    41 // (other items were commented in a header).
    41 // (other items were commented in a header).
    42 // ---------------------------------------------------------
    42 // ---------------------------------------------------------
    43 //
    43 //
    44 EXPORT_C void TPhoneCmdParamString::SetString( TPtr* aString )
    44 EXPORT_C void TPhoneCmdParamString::SetString( TPtr* aString )
    45    	{
    45     {
    46    	__ASSERT_DEBUG( aString, Panic( EPhoneUtilsParameterNotInitialized ) );
    46     __ASSERT_DEBUG( aString, Panic( EPhoneUtilsParameterNotInitialized ) );
    47    	iString = aString;   
    47     iString = aString;   
    48    	}
    48     }
    49 
    49 
    50 // ---------------------------------------------------------
    50 // ---------------------------------------------------------
    51 // TPhoneCmdParamString::String
    51 // TPhoneCmdParamString::String
    52 // Returns the string
    52 // Returns the string
    53 // (other items were commented in a header).
    53 // (other items were commented in a header).
    54 // ---------------------------------------------------------
    54 // ---------------------------------------------------------
    55 //
    55 //
    56 EXPORT_C TPtr* TPhoneCmdParamString::String()
    56 EXPORT_C TPtr* TPhoneCmdParamString::String()
    57    	{
    57     {
    58    	__ASSERT_DEBUG( iString, Panic( EPhoneUtilsInvariant ) );
    58     __ASSERT_DEBUG( iString, Panic( EPhoneUtilsInvariant ) );
    59    	return iString;
    59     return iString;
    60    	}
    60     }
    61 
    61 
    62 //  End of File
    62 //  End of File