phoneapp/phoneuiutils/src/tphonecmdparamprogressnote.cpp
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 51 f39ed5e045e0
child 62 5266b1f337bd
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
    27 // C++ default constructor can NOT contain any code, that
    27 // C++ default constructor can NOT contain any code, that
    28 // might leave.
    28 // might leave.
    29 // -----------------------------------------------------------------------------
    29 // -----------------------------------------------------------------------------
    30 //
    30 //
    31 EXPORT_C TPhoneCmdParamProgressNote::TPhoneCmdParamProgressNote():
    31 EXPORT_C TPhoneCmdParamProgressNote::TPhoneCmdParamProgressNote():
    32 	TPhoneCommandParam(),
    32     TPhoneCommandParam(),
    33     iResourceId( 0 ),
    33     iResourceId( 0 ),
    34     iWaitTime( 0 )
    34     iWaitTime( 0 )
    35     {
    35     {
    36     iParamId = EPhoneParamIdProgressNote;
    36     iParamId = EPhoneParamIdProgressNote;
    37     }
    37     }
    41 // Sets the note resource ID
    41 // Sets the note resource ID
    42 // (other items were commented in a header).
    42 // (other items were commented in a header).
    43 // ---------------------------------------------------------
    43 // ---------------------------------------------------------
    44 //
    44 //
    45 EXPORT_C void TPhoneCmdParamProgressNote::SetResourceId( TInt aResourceId )
    45 EXPORT_C void TPhoneCmdParamProgressNote::SetResourceId( TInt aResourceId )
    46 	{
    46     {
    47    	__ASSERT_DEBUG( aResourceId, Panic( EPhoneUtilsParameterNotInitialized ) );
    47     __ASSERT_DEBUG( aResourceId, Panic( EPhoneUtilsParameterNotInitialized ) );
    48    	iResourceId = aResourceId;   
    48     iResourceId = aResourceId;   
    49    	}
    49     }
    50 
    50 
    51 // ---------------------------------------------------------
    51 // ---------------------------------------------------------
    52 // TPhoneCmdParamProgressNote::SetWaitTime
    52 // TPhoneCmdParamProgressNote::SetWaitTime
    53 // Sets the note timeout
    53 // Sets the note timeout
    54 // (other items were commented in a header).
    54 // (other items were commented in a header).
    55 // ---------------------------------------------------------
    55 // ---------------------------------------------------------
    56 //
    56 //
    57 EXPORT_C void TPhoneCmdParamProgressNote::SetWaitTime( 
    57 EXPORT_C void TPhoneCmdParamProgressNote::SetWaitTime( 
    58    TTimeIntervalMicroSeconds32 aWaitTime )
    58    TTimeIntervalMicroSeconds32 aWaitTime )
    59 	{
    59     {
    60    	iWaitTime = aWaitTime;   
    60     iWaitTime = aWaitTime;   
    61    	}
    61     }
    62 
    62 
    63 
    63 
    64 // ---------------------------------------------------------
    64 // ---------------------------------------------------------
    65 // TPhoneCmdParamProgressNote::ResourceId
    65 // TPhoneCmdParamProgressNote::ResourceId
    66 // Returns the note resource ID
    66 // Returns the note resource ID
    67 // (other items were commented in a header).
    67 // (other items were commented in a header).
    68 // ---------------------------------------------------------
    68 // ---------------------------------------------------------
    69 //
    69 //
    70 EXPORT_C TInt TPhoneCmdParamProgressNote::ResourceId() const
    70 EXPORT_C TInt TPhoneCmdParamProgressNote::ResourceId() const
    71    	{
    71     {
    72    	__ASSERT_DEBUG( iResourceId, Panic( EPhoneUtilsInvariant ) );
    72     __ASSERT_DEBUG( iResourceId, Panic( EPhoneUtilsInvariant ) );
    73    	return iResourceId;
    73     return iResourceId;
    74    	}
    74     }
    75 
    75 
    76   // ---------------------------------------------------------
    76   // ---------------------------------------------------------
    77 // TPhoneCmdParamProgressNote::WaitTime
    77 // TPhoneCmdParamProgressNote::WaitTime
    78 // Returns the note timeout
    78 // Returns the note timeout
    79 // (other items were commented in a header).
    79 // (other items were commented in a header).
    80 // ---------------------------------------------------------
    80 // ---------------------------------------------------------
    81 //
    81 //
    82 EXPORT_C TTimeIntervalMicroSeconds32 TPhoneCmdParamProgressNote::WaitTime() const
    82 EXPORT_C TTimeIntervalMicroSeconds32 TPhoneCmdParamProgressNote::WaitTime() const
    83 	{
    83     {
    84    	return iWaitTime;
    84     return iWaitTime;
    85    	} 
    85     } 
    86 
    86 
    87 //  End of File  
    87 //  End of File