diff -r 7cee158cb8cd -r 26b2b12093af javaextensions/satsa/pki/src.s60/cstsseprompt.cpp --- a/javaextensions/satsa/pki/src.s60/cstsseprompt.cpp Wed Sep 15 12:05:25 2010 +0300 +++ b/javaextensions/satsa/pki/src.s60/cstsseprompt.cpp Wed Oct 13 14:23:59 2010 +0300 @@ -18,24 +18,11 @@ // INCLUDE FILES - - - #include "cstsseprompt.h" - -#ifdef RD_JAVA_S60_RELEASE_10_1_ONWARDS - -#include -#include -const QString KMessageTextKey = "text"; - -#else - #include #include #include -#endif // ============================ MEMBER FUNCTIONS =============================== @@ -56,10 +43,8 @@ // Destructor CSTSSEPrompt::~CSTSSEPrompt() { -#ifndef RD_JAVA_S60_RELEASE_10_1_ONWARDS delete iGlobalNote; delete iSynchronizer; -#endif } // ----------------------------------------------------------------------------- @@ -69,26 +54,11 @@ // void CSTSSEPrompt::DisplayPromptL(const TDesC& aPrompt) { - #ifdef RD_JAVA_S60_RELEASE_10_1_ONWARDS - HbDeviceDialog* dialog; - dialog = new(ELeave) HbDeviceDialog(); - - QVariantMap parameters; - QString qString((QChar*)aPrompt.Ptr(),aPrompt.Length()); - parameters[QString(KMessageTextKey)] = qString; - - dialog->show("com.nokia.hb.devicemessagebox/1.0", parameters); - - delete dialog; - #else - iGlobalNote->ShowNoteL( iSynchronizer->iStatus, - EAknGlobalConfirmationNote, + EAknGlobalConfirmationNote, aPrompt); iSynchronizer->ExecuteL((TTimeIntervalMicroSeconds32) 0); - - #endif } // ----------------------------------------------------------------------------- @@ -107,11 +77,9 @@ // ----------------------------------------------------------------------------- void CSTSSEPrompt::ConstructL() { - #ifndef RD_JAVA_S60_RELEASE_10_1_ONWARDS iGlobalNote = CAknGlobalNote::NewL(); iGlobalNote->SetSoftkeys(R_AVKON_SOFTKEYS_OK_EMPTY); iSynchronizer = CAOSynchronizer::NewL(); - #endif }