diff -r 6b911d05207e -r bc5a64e5bc3c phoneapp/phoneuiutils/src/tphonecmdparamglobalnote.cpp --- a/phoneapp/phoneuiutils/src/tphonecmdparamglobalnote.cpp Wed Jun 23 18:12:20 2010 +0300 +++ b/phoneapp/phoneuiutils/src/tphonecmdparamglobalnote.cpp Tue Jul 06 14:15:47 2010 +0300 @@ -38,7 +38,8 @@ iWaitforReady ( EFalse ), iSoftkeys( 0 ), iTimeout( 0 ), - iNotificationDialog( EFalse ) + iNotificationDialog( EFalse ), + iCauseCode( KErrNotFound ) { iParamId = EPhoneParamIdGlobalNote; } @@ -137,6 +138,18 @@ } // --------------------------------------------------------- +// TPhoneCmdParamGlobalNote::SetCauseCode +// Sets the cause code. +// (other items were commented in a header). +// --------------------------------------------------------- +// +EXPORT_C void TPhoneCmdParamGlobalNote::SetCauseCode( + TInt aCauseCode ) +{ + iCauseCode = aCauseCode; +} + +// --------------------------------------------------------- // TPhoneCmdParamGlobalNote::Type // Returns the global note type // (other items were commented in a header). @@ -222,4 +235,14 @@ return iNotificationDialog; } +// --------------------------------------------------------- +// TPhoneCmdParamGlobalNote::CauseCode +// Returns the cause code. +// --------------------------------------------------------- +// +EXPORT_C TInt TPhoneCmdParamGlobalNote::CauseCode() const + { + return iCauseCode; + } + // End of File