diff -r 63339781d179 -r 09b1ac925e3f cpsecplugins/simpincodeplugin/src/seccodemodel_win.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cpsecplugins/simpincodeplugin/src/seccodemodel_win.cpp Tue Aug 31 16:04:40 2010 +0300 @@ -0,0 +1,103 @@ +/* + * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). + * All rights reserved. + * This component and the accompanying materials are made available + * under the terms of "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: + * + */ + +// User includes +#include "seccodemodel_p.h" +#include <../../inc/cpsecplugins.h> + +// ======== MEMBER FUNCTIONS ======== +/*! + NewL +*/ +SecCodeModelPrivate* SecCodeModelPrivate::NewL() +{ + return NULL; +} + +/*! + Constructor +*/ +SecCodeModelPrivate::SecCodeModelPrivate() +{ +} + +/*! + ConstructL +*/ +void SecCodeModelPrivate::ConstructL() +{ + +} + +/*! + Destructor +*/ +SecCodeModelPrivate::~SecCodeModelPrivate() +{ +} + +/*! + Get Pin Code Request State +*/ +bool SecCodeModelPrivate::pinCodeRequest() const +{ + RDEBUG("0", 0); + QString information; + information = QString("Emulator NOT supported!"); + HbMessageBox messageBox(information); + messageBox.exec(); + return false; +} + +/*! + Get the Change Pin Remaining Attempts +*/ +bool SecCodeModelPrivate::changePinCodeRequest() +{ + RDEBUG("0", 0); + QString information; + information = QString("Emulator NOT supported!"); + HbMessageBox messageBox(information); + messageBox.exec(); + return true; +} + +/*! + Change Pin Code +*/ +int SecCodeModelPrivate::changePinCode() +{ + RDEBUG("0", 0); + QString information; + information = QString("Emulator NOT supported!"); + HbMessageBox messageBox(information); + messageBox.exec(); + return 0; +} + +/*! + Change Pin2 Code +*/ +int SecCodeModelPrivate::changePin2Code() +{ + RDEBUG("0", 0); + QString information; + information = QString("Emulator NOT supported!"); + HbMessageBox messageBox(information); + messageBox.exec(); + return 0; +}