phoneapp/phoneuiutils/src/tphonecmdparamglobalnote.cpp
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 30 ebdbd102c78a
parent 46 bc5a64e5bc3c
equal deleted inserted replaced
40:bab96b7ed1a4 51:f39ed5e045e0
    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     iTimeout( 0 ),
       
    41     iNotificationDialog( EFalse ),
       
    42     iCauseCode( KErrNotFound ) 
    41     {
    43     {
    42     iParamId = EPhoneParamIdGlobalNote;
    44     iParamId = EPhoneParamIdGlobalNote;
    43     }
    45     }
    44 
    46 
    45 // ---------------------------------------------------------
    47 // ---------------------------------------------------------
   122 {
   124 {
   123     iTimeout = aTimeout;
   125     iTimeout = aTimeout;
   124 }
   126 }
   125 
   127 
   126 // ---------------------------------------------------------
   128 // ---------------------------------------------------------
       
   129 // TPhoneCmdParamGlobalNote::SetNotificationDialog
       
   130 // Sets the notification dialog flag.
       
   131 // (other items were commented in a header).
       
   132 // ---------------------------------------------------------
       
   133 //
       
   134 EXPORT_C void TPhoneCmdParamGlobalNote::SetNotificationDialog( 
       
   135         TBool aNotificationDialog )
       
   136 {
       
   137     iNotificationDialog = aNotificationDialog;
       
   138 }
       
   139 
       
   140 // ---------------------------------------------------------
       
   141 // TPhoneCmdParamGlobalNote::SetCauseCode
       
   142 // Sets the cause code.
       
   143 // (other items were commented in a header).
       
   144 // ---------------------------------------------------------
       
   145 //
       
   146 EXPORT_C void TPhoneCmdParamGlobalNote::SetCauseCode( 
       
   147         TInt aCauseCode )
       
   148 {
       
   149     iCauseCode = aCauseCode;
       
   150 }
       
   151 
       
   152 // ---------------------------------------------------------
   127 // TPhoneCmdParamGlobalNote::Type
   153 // TPhoneCmdParamGlobalNote::Type
   128 // Returns the global note type
   154 // Returns the global note type
   129 // (other items were commented in a header).
   155 // (other items were commented in a header).
   130 // ---------------------------------------------------------
   156 // ---------------------------------------------------------
   131 //
   157 //
   197 EXPORT_C TInt TPhoneCmdParamGlobalNote::Timeout() const
   223 EXPORT_C TInt TPhoneCmdParamGlobalNote::Timeout() const
   198     {
   224     {
   199     return iTimeout;
   225     return iTimeout;
   200     }
   226     }
   201 
   227 
       
   228 // ---------------------------------------------------------
       
   229 // TPhoneCmdParamGlobalNote::NotificationDialog
       
   230 // Returns the notification dialog flag.
       
   231 // ---------------------------------------------------------
       
   232 //
       
   233 EXPORT_C TBool TPhoneCmdParamGlobalNote::NotificationDialog() const
       
   234     {
       
   235     return iNotificationDialog;
       
   236     }
       
   237 
       
   238 // ---------------------------------------------------------
       
   239 // TPhoneCmdParamGlobalNote::CauseCode
       
   240 // Returns the cause code.
       
   241 // ---------------------------------------------------------
       
   242 //
       
   243 EXPORT_C TInt TPhoneCmdParamGlobalNote::CauseCode() const
       
   244     {
       
   245     return iCauseCode;
       
   246     }
       
   247 
   202 //  End of File  
   248 //  End of File