phoneapp/phoneuiutils/src/tphonecmdparamglobalnote.cpp
changeset 53 22cc52eade9b
parent 46 bc5a64e5bc3c
child 76 cfea66083b62
--- a/phoneapp/phoneuiutils/src/tphonecmdparamglobalnote.cpp	Fri Jul 23 12:55:58 2010 +0300
+++ b/phoneapp/phoneuiutils/src/tphonecmdparamglobalnote.cpp	Fri Aug 06 13:16:44 2010 +0300
@@ -31,12 +31,9 @@
 //
 EXPORT_C TPhoneCmdParamGlobalNote::TPhoneCmdParamGlobalNote():
     TPhoneCommandParam(),
-    iType( EAknGlobalErrorNote ),
+    iType( EPhoneNotificationDialog ),
     iTextResourceId( 0 ),
     iText( KNullDesC ),
-    iTone( EAvkonSIDErrorTone ),
-    iWaitforReady ( EFalse ),
-    iSoftkeys( 0 ),
     iTimeout( 0 ),
     iNotificationDialog( EFalse ),
     iCauseCode( KErrNotFound ) 
@@ -50,7 +47,7 @@
 // (other items were commented in a header).
 // ---------------------------------------------------------
 //
-EXPORT_C void TPhoneCmdParamGlobalNote::SetType( TAknGlobalNoteType aType )
+EXPORT_C void TPhoneCmdParamGlobalNote::SetType( /*TAknGlobalNoteType*/ PhoneNotificationType aType )
    {
    iType = aType;   
    }
@@ -82,39 +79,6 @@
    }
 
 // ---------------------------------------------------------
-// TPhoneCmdParamGlobalNote::SetTone
-// Sets the global note tone
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-EXPORT_C void TPhoneCmdParamGlobalNote::SetTone( TInt aTone )
-   {
-   iTone = aTone;   
-   }
-
-// ---------------------------------------------------------
-// TPhoneCmdParamGlobalNote::SetWaitForReady
-// Sets the note to wait for completed
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-EXPORT_C void TPhoneCmdParamGlobalNote::SetWaitForReady( TBool aStatus )
-   {
-   iWaitforReady = aStatus;   
-   }
-
-// ---------------------------------------------------------
-// TPhoneCmdParamGlobalNote::SetSoftkeys
-// Sets the global note softkeys
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-EXPORT_C void TPhoneCmdParamGlobalNote::SetSoftkeys( TInt aSoftkeys )
-   {
-   iSoftkeys = aSoftkeys;   
-   }
-
-// ---------------------------------------------------------
 // TPhoneCmdParamGlobalNote::SetTimeout
 // Sets the timeout value for a note.
 // (other items were commented in a header).
@@ -155,7 +119,7 @@
 // (other items were commented in a header).
 // ---------------------------------------------------------
 //
-EXPORT_C TAknGlobalNoteType TPhoneCmdParamGlobalNote::Type() const
+EXPORT_C /*TAknGlobalNoteType*/ PhoneNotificationType TPhoneCmdParamGlobalNote::Type() const
    {
    return iType;
    }
@@ -183,39 +147,6 @@
    }
 
 // ---------------------------------------------------------
-// TPhoneCmdParamGlobalNote::Tone
-// Returns the note tone
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-EXPORT_C TInt TPhoneCmdParamGlobalNote::Tone() const
-   {
-   return iTone;
-   }
-
-// ---------------------------------------------------------
-// TPhoneCmdParamGlobalNote::WaitForReady
-// Returns the status of wait for completed
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-EXPORT_C TBool TPhoneCmdParamGlobalNote::WaitForReady() const
-   {
-   return iWaitforReady;
-   }
-   
-// ---------------------------------------------------------
-// TPhoneCmdParamGlobalNote::Softkeys
-// Returns the note softkeys
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//
-EXPORT_C TInt TPhoneCmdParamGlobalNote::Softkeys() const
-   {
-   return iSoftkeys;
-   }
-
-// ---------------------------------------------------------
 // TPhoneCmdParamGlobalNote::Timeout
 // Returns the timeout value.
 // ---------------------------------------------------------