phoneapp/phoneuiutils/src/tphonecmdparamglobalnote.cpp
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 30 ebdbd102c78a
parent 46 bc5a64e5bc3c
--- a/phoneapp/phoneuiutils/src/tphonecmdparamglobalnote.cpp	Tue Jun 15 14:14:38 2010 +0100
+++ b/phoneapp/phoneuiutils/src/tphonecmdparamglobalnote.cpp	Thu Jul 22 16:33:21 2010 +0100
@@ -37,7 +37,9 @@
     iTone( EAvkonSIDErrorTone ),
     iWaitforReady ( EFalse ),
     iSoftkeys( 0 ),
-    iTimeout( 0 )
+    iTimeout( 0 ),
+    iNotificationDialog( EFalse ),
+    iCauseCode( KErrNotFound ) 
     {
     iParamId = EPhoneParamIdGlobalNote;
     }
@@ -124,6 +126,30 @@
 }
 
 // ---------------------------------------------------------
+// TPhoneCmdParamGlobalNote::SetNotificationDialog
+// Sets the notification dialog flag.
+// (other items were commented in a header).
+// ---------------------------------------------------------
+//
+EXPORT_C void TPhoneCmdParamGlobalNote::SetNotificationDialog( 
+        TBool aNotificationDialog )
+{
+    iNotificationDialog = aNotificationDialog;
+}
+
+// ---------------------------------------------------------
+// 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).
@@ -199,4 +225,24 @@
     return iTimeout;
     }
 
+// ---------------------------------------------------------
+// TPhoneCmdParamGlobalNote::NotificationDialog
+// Returns the notification dialog flag.
+// ---------------------------------------------------------
+//
+EXPORT_C TBool TPhoneCmdParamGlobalNote::NotificationDialog() const
+    {
+    return iNotificationDialog;
+    }
+
+// ---------------------------------------------------------
+// TPhoneCmdParamGlobalNote::CauseCode
+// Returns the cause code.
+// ---------------------------------------------------------
+//
+EXPORT_C TInt TPhoneCmdParamGlobalNote::CauseCode() const
+    {
+    return iCauseCode;
+    }
+
 //  End of File