|
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 // User includes |
|
19 #include "seccodemodel_p.h" |
|
20 #include <../../inc/cpsecplugins.h> |
|
21 |
|
22 // ======== MEMBER FUNCTIONS ======== |
|
23 /*! |
|
24 NewL |
|
25 */ |
|
26 SecCodeModelPrivate* SecCodeModelPrivate::NewL() |
|
27 { |
|
28 return NULL; |
|
29 } |
|
30 |
|
31 /*! |
|
32 Constructor |
|
33 */ |
|
34 SecCodeModelPrivate::SecCodeModelPrivate() |
|
35 { |
|
36 } |
|
37 |
|
38 /*! |
|
39 ConstructL |
|
40 */ |
|
41 void SecCodeModelPrivate::ConstructL() |
|
42 { |
|
43 |
|
44 } |
|
45 |
|
46 /*! |
|
47 Destructor |
|
48 */ |
|
49 SecCodeModelPrivate::~SecCodeModelPrivate() |
|
50 { |
|
51 } |
|
52 |
|
53 /*! |
|
54 Get Pin Code Request State |
|
55 */ |
|
56 bool SecCodeModelPrivate::pinCodeRequest() const |
|
57 { |
|
58 RDEBUG("0", 0); |
|
59 QString information; |
|
60 information = QString("Emulator NOT supported!"); |
|
61 HbMessageBox messageBox(information); |
|
62 messageBox.exec(); |
|
63 return false; |
|
64 } |
|
65 |
|
66 /*! |
|
67 Get the Change Pin Remaining Attempts |
|
68 */ |
|
69 bool SecCodeModelPrivate::changePinCodeRequest() |
|
70 { |
|
71 RDEBUG("0", 0); |
|
72 QString information; |
|
73 information = QString("Emulator NOT supported!"); |
|
74 HbMessageBox messageBox(information); |
|
75 messageBox.exec(); |
|
76 return true; |
|
77 } |
|
78 |
|
79 /*! |
|
80 Change Pin Code |
|
81 */ |
|
82 int SecCodeModelPrivate::changePinCode() |
|
83 { |
|
84 RDEBUG("0", 0); |
|
85 QString information; |
|
86 information = QString("Emulator NOT supported!"); |
|
87 HbMessageBox messageBox(information); |
|
88 messageBox.exec(); |
|
89 return 0; |
|
90 } |
|
91 |
|
92 /*! |
|
93 Change Pin2 Code |
|
94 */ |
|
95 int SecCodeModelPrivate::changePin2Code() |
|
96 { |
|
97 RDEBUG("0", 0); |
|
98 QString information; |
|
99 information = QString("Emulator NOT supported!"); |
|
100 HbMessageBox messageBox(information); |
|
101 messageBox.exec(); |
|
102 return 0; |
|
103 } |