terminalsecurity/SCP/SCPTimestampPlugin/src/SCPUserInf.cpp
branchRCL_3
changeset 19 86979fe66c4c
parent 13 06f47423ecee
child 58 4af31167ea77
--- a/terminalsecurity/SCP/SCPTimestampPlugin/src/SCPUserInf.cpp	Mon Mar 15 12:43:15 2010 +0200
+++ b/terminalsecurity/SCP/SCPTimestampPlugin/src/SCPUserInf.cpp	Wed Mar 31 23:00:03 2010 +0300
@@ -17,15 +17,15 @@
 
 #include "SCPUserInf.h"
 #include <SCPTimestampPluginLang.rsg>
-#include <AknGlobalConfirmationQuery.h>
-//#include <AknNoteDialog.h>
-#include <aknglobalnote.h> 
+
+#include <AknGlobalNote.h>
+#include <aknnotewrappers.h>
 #include "SCPDebug.h"
 
 #include <hal.h>
 // For wipe
-#include <StarterClient.h>
-#include <SysLangUtil.h>
+#include <starterclient.h>
+#include <syslangutil.h>
 #include <rfsClient.h>
 #include "DMUtilClient.h"
 CSCPUserInf::CSCPUserInf() :
@@ -100,17 +100,15 @@
 	{
 	Dprint( (_L("CSCPUserInf::EGlobalConf") ));
     TRAP_IGNORE(                                            
-		    CAknGlobalConfirmationQuery* note = CAknGlobalConfirmationQuery::NewLC();
+		TRequestStatus status;
 		    TPtr16 bufDes = idispText->Des();                    
-		    TRequestStatus status;
-		    note->ShowConfirmationQueryL(status,
-		                                 bufDes,
-		                                 R_AVKON_SOFTKEYS_OK_EMPTY,
-		                                 R_QGN_NOTE_WARNING_ANIM );
-			Dprint( (_L("CSCPUserInf::WaitforReq") ));
+		CAknGlobalNote* lInfoNote = CAknGlobalNote :: NewLC();
+		lInfoNote->SetSoftkeys(R_AVKON_SOFTKEYS_OK_EMPTY__OK);
+		lInfoNote->SetAnimation(R_QGN_NOTE_WARNING_ANIM);
+		lInfoNote->ShowNoteL(status, EAknGlobalInformationNote, bufDes);
+		lInfoNote->SetPriority(ECoeWinPriorityAlwaysAtFront + 1);
 		    User::WaitForRequest( status );
-			Dprint( (_L("CSCPUserInf::WaitforReq done") ));                            
-		    CleanupStack::PopAndDestroy( note );     
+		CleanupStack::PopAndDestroy(1); // note
 			);
 	}
 	else if (iState == ERfs)