phoneapp/phoneuiutils/src/tphonecmdparamglobalnote.cpp
changeset 46 bc5a64e5bc3c
parent 45 6b911d05207e
child 51 f39ed5e045e0
child 53 22cc52eade9b
--- 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