diff -r 92a765b5b3e7 -r 91031d3aab7d webengine/wmlengine/src/MVC/include/WimUi.h --- a/webengine/wmlengine/src/MVC/include/WimUi.h Mon May 03 13:32:15 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,119 +0,0 @@ -/* -* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of the License "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Contains functions for Digital Signing (WIM_ENABLED env. only) -* -*/ - - -#ifndef __WIMUI_H -#define __WIMUI_H - -/* #include */ -#include - -typedef TInt TDSignDialogType; - -const TInt KDSignDialogTypeSignText = 0; -const TInt KDSignDialogTypeSelectCert = 1; -const TInt KDSignDialogTypePinCodeQuery = 2; -const TInt KSignTextRequested= 3; - -const TInt KMaxPINInputLength = 8; -const TInt KMinPINInputLength = 1; // currently in use - - -class CWimUi : public CActive -{ - public: - - /** - * EPOC two phased constructor - */ - static CWimUi* NewL(); - - /** - * destructor - */ - ~CWimUi(); - - /** - * Shows Sign Text Dialog - * - * @param void* data - * void* callbackctx - * void* callback - * @return void - */ - void DoShowSignTextDialogL(void* data, void* callbackctx, void* callback); - - /** - * Shows Select Certificate Dialog - * - * @param void* data - * void* callbackctx - * void* callback - * @return void - */ - void DoShowSelectCertificateDlgL(void* data, void* callbackctx, void* callback); - - /** - * Shows Select Pin Code Query Dialog - * - * @param void* data - * void* callbackctx - * void* callback - * @return void - */ - void DoShowPinCodeQueryDialogL(void* data, void* callbackctx, void* callback); - - private: // Private methods - - /** - * By default EPOC constructor is private. - */ - void ConstructL(); - - /** - * C++ default constructor. - */ - CWimUi(); - - /** - * Required function for CActive object. - */ - void RunL(); - - /** - * Required function for CActive object. - */ - void DoCancel(); - - private: // Private member variables - - void* iData; - void* iCallbackCtx; - void* iCallback; - TBool iBooleanValue; - TInt iSelectedCertIndex; - - TWIMPINParams iParams; - const TDialogType iPinPukDialogType; - TPINValue iPinValue; - - MWimSecurityDialogs* iSecDlgs; - TDSignDialogType iDialogType; - -}; - -#endif