phoneapp/phoneuiutils/src/tphonecmdparamglobalnote.cpp
changeset 30 ebdbd102c78a
parent 21 92ab7f8d0eab
child 51 f39ed5e045e0
equal deleted inserted replaced
27:2f8f8080a020 30:ebdbd102c78a
    33     TPhoneCommandParam(),
    33     TPhoneCommandParam(),
    34     iType( EAknGlobalErrorNote ),
    34     iType( EAknGlobalErrorNote ),
    35     iTextResourceId( 0 ),
    35     iTextResourceId( 0 ),
    36     iText( KNullDesC ),
    36     iText( KNullDesC ),
    37     iTone( EAvkonSIDErrorTone ),
    37     iTone( EAvkonSIDErrorTone ),
    38     iWaitforReady ( EFalse )
    38     iWaitforReady ( EFalse ),
    39     ,iSoftkeys( 0 )
    39     iSoftkeys( 0 ),
       
    40     iTimeout( 0 )
    40     {
    41     {
    41     iParamId = EPhoneParamIdGlobalNote;
    42     iParamId = EPhoneParamIdGlobalNote;
    42     }
    43     }
    43 
    44 
    44 // ---------------------------------------------------------
    45 // ---------------------------------------------------------
   110    {
   111    {
   111    iSoftkeys = aSoftkeys;   
   112    iSoftkeys = aSoftkeys;   
   112    }
   113    }
   113 
   114 
   114 // ---------------------------------------------------------
   115 // ---------------------------------------------------------
       
   116 // TPhoneCmdParamGlobalNote::SetTimeout
       
   117 // Sets the timeout value for a note.
       
   118 // (other items were commented in a header).
       
   119 // ---------------------------------------------------------
       
   120 //
       
   121 EXPORT_C void TPhoneCmdParamGlobalNote::SetTimeout( TInt aTimeout )
       
   122 {
       
   123     iTimeout = aTimeout;
       
   124 }
       
   125 
       
   126 // ---------------------------------------------------------
   115 // TPhoneCmdParamGlobalNote::Type
   127 // TPhoneCmdParamGlobalNote::Type
   116 // Returns the global note type
   128 // Returns the global note type
   117 // (other items were commented in a header).
   129 // (other items were commented in a header).
   118 // ---------------------------------------------------------
   130 // ---------------------------------------------------------
   119 //
   131 //
   175 EXPORT_C TInt TPhoneCmdParamGlobalNote::Softkeys() const
   187 EXPORT_C TInt TPhoneCmdParamGlobalNote::Softkeys() const
   176    {
   188    {
   177    return iSoftkeys;
   189    return iSoftkeys;
   178    }
   190    }
   179 
   191 
       
   192 // ---------------------------------------------------------
       
   193 // TPhoneCmdParamGlobalNote::Timeout
       
   194 // Returns the timeout value.
       
   195 // ---------------------------------------------------------
       
   196 //
       
   197 EXPORT_C TInt TPhoneCmdParamGlobalNote::Timeout() const
       
   198     {
       
   199     return iTimeout;
       
   200     }
       
   201 
   180 //  End of File  
   202 //  End of File