secsrv_plat/security_code_ui_api/inc/SecUiCodeQueryDialog.h
changeset 26 aad866c37519
parent 0 164170e6151a
child 50 03674e5abf46
--- a/secsrv_plat/security_code_ui_api/inc/SecUiCodeQueryDialog.h	Thu May 27 13:44:17 2010 +0300
+++ b/secsrv_plat/security_code_ui_api/inc/SecUiCodeQueryDialog.h	Fri Jun 11 14:28:40 2010 +0300
@@ -17,15 +17,12 @@
 *
 */
 
-
 #ifndef __SECUICODEQUERYDIALOG__
 #define __SECUICODEQUERYDIALOG__
 
-#include <aknquerydialog.h>
-#include <aknnotedialog.h>
 #include <secui.hrh>
 
-class CCodeQueryDialog : public CAknTextQueryDialog
+class CCodeQueryDialog : public CBase
 	{
 	public://construction and destruction
 		/**
@@ -40,73 +37,7 @@
         * Destructor.
         */
 		~CCodeQueryDialog();
-	public:
-		/**
-		* Allows dismissing of code queries. Only mandatory requirement is that PIN
-		* queries are dismissed by the # 
-		*
-		* @param aKeyEvent TKeyEvent&
-		* @return ETrue query is dismissed
-		*		  EFalse not dismissed
-		*/
-		TBool NeedToDismissQueryL(const TKeyEvent& aKeyEvent);
-		/**
-		* Calls the dialog's TryExitL and passes the reason given as a parameter.
-		*
-		* @param TInt aReason (The reason for the cancel request)
-		*/
-		void TryCancelQueryL(TInt aReason);
 
-	protected://from CAknTextQueryDialog
-		/**
-		* From CAknTextQueryDialog This function is called by the UIKON dialog framework 
-		* just before the dialog is activated, after it has called
-		* PreLayoutDynInitL() and the dialog has been sized.
-		*/
-		void PreLayoutDynInitL();
-		/**
-		* From CAknTextQueryDialog This function is called by the UIKON framework 
-		* if the user activates a button in the button panel. 
-		* It is not called if the Cancel button is activated, 
-		* unless the EEikDialogFlagNotifyEsc flag is set.
-		* @param aButtonId  The ID of the button that was activated
-		* @return           Should return ETrue if the dialog should exit, and EFalse if it should not.
-		*/
-		TBool OkToExitL(TInt aButtonId);
-		/**
-		* From CAknTextQueryDialog This function is called by the UIKON dialog framework 
-        * just after a key is pressed
-		* @param aKeyEvent TKeyEvent& 
-		* @param aType TEventCode 
-        */
-		TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType);
-			/**
-   		* From MAknQueryControlObeserver; overrides the default implementation in CAknQueryDialog. 
-   		* Gets called by framework when editor sends state event
-    	*/	
-		TBool HandleQueryEditorStateEventL(CAknQueryControl* aQueryControl, TQueryControlEvent aEventType, TQueryValidationStatus aStatus);
-		
-		TBool CheckIfEntryTextOk() const;
-		
-		void UpdateLeftSoftKeyL();
-	private:	
-		void ShowWarningNoteL();
-		
-	    /*
-	    * SetIncallBubbleAllowedInUsualL
-	    */
-	    void SetIncallBubbleAllowedInUsualL(TBool aAllowed);
-
-	private: // DATA	
-		TInt	iMinLength;
-		TInt	iMaxLength;
-		TInt	iMode;
-		TBool	iFront;
-		TInt	iAppKey;
-		TInt	iVoiceKey1;
-		TInt	iVoiceKey2;
-		TInt	iEndKey;
-		TBool   iIsRemoteLockQuery;
 	};
 #endif