cpsecplugins/simpincodeplugin/inc/seccodemodel.h
branchRCL_3
changeset 21 09b1ac925e3f
equal deleted inserted replaced
20:63339781d179 21:09b1ac925e3f
       
     1 /*
       
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0""
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef SECCODEMODEL_H
       
    19 #define SECCODEMODEL_H
       
    20 
       
    21 // System includes
       
    22 #include <QObject>
       
    23 
       
    24 // Forward declarations
       
    25 class SecCodeModelPrivate;
       
    26 
       
    27 // Class declaration
       
    28 class SecCodeModel : public QObject
       
    29 {
       
    30     Q_OBJECT
       
    31 
       
    32 public:
       
    33     SecCodeModel(QObject *parent = 0);
       
    34     virtual ~SecCodeModel();
       
    35     bool pinCodeRequest() const;
       
    36     bool changePinCodeRequest();
       
    37     int changePinCode();
       
    38     int changePin2Code();
       
    39  
       
    40 private: // data
       
    41     SecCodeModelPrivate *d_ptr;
       
    42 };
       
    43 
       
    44 #endif //SECCODEMODEL_H