--- a/phoneapp/phoneuiutils/src/tphonecmdparamglobalnote.cpp Mon May 03 12:31:11 2010 +0300
+++ b/phoneapp/phoneuiutils/src/tphonecmdparamglobalnote.cpp Fri May 14 15:51:57 2010 +0300
@@ -35,8 +35,9 @@
iTextResourceId( 0 ),
iText( KNullDesC ),
iTone( EAvkonSIDErrorTone ),
- iWaitforReady ( EFalse )
- ,iSoftkeys( 0 )
+ iWaitforReady ( EFalse ),
+ iSoftkeys( 0 ),
+ iTimeout( 0 )
{
iParamId = EPhoneParamIdGlobalNote;
}
@@ -112,6 +113,17 @@
}
// ---------------------------------------------------------
+// TPhoneCmdParamGlobalNote::SetTimeout
+// Sets the timeout value for a note.
+// (other items were commented in a header).
+// ---------------------------------------------------------
+//
+EXPORT_C void TPhoneCmdParamGlobalNote::SetTimeout( TInt aTimeout )
+{
+ iTimeout = aTimeout;
+}
+
+// ---------------------------------------------------------
// TPhoneCmdParamGlobalNote::Type
// Returns the global note type
// (other items were commented in a header).
@@ -177,4 +189,14 @@
return iSoftkeys;
}
+// ---------------------------------------------------------
+// TPhoneCmdParamGlobalNote::Timeout
+// Returns the timeout value.
+// ---------------------------------------------------------
+//
+EXPORT_C TInt TPhoneCmdParamGlobalNote::Timeout() const
+ {
+ return iTimeout;
+ }
+
// End of File