|
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 * |
|
15 * Description: SecUi notification keys. |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef SECUINOTIFICATIONPLUGINKEYS_H |
|
20 #define SECUINOTIFICATIONPLUGINKEYS_H |
|
21 |
|
22 #include <QString> |
|
23 |
|
24 // Device dialog type |
|
25 #define SECUINOTIFICATIONDIALOG "com.nokia.secuinotificationdialog/1.0" |
|
26 |
|
27 // Keys for the parameters passed to notification framework plugin |
|
28 const QString KDialogTitle = "title"; |
|
29 const QString KApplicationName = "application"; |
|
30 const QString KQueryType = "type"; |
|
31 const QString KQueryMinLength = "MinLength"; |
|
32 const QString KQueryMaxLength = "MaxLength"; |
|
33 const QString KApplicationIcon = "icon"; |
|
34 const QString KSupplier = "supplier"; |
|
35 const QString KMemorySelection = "memory"; |
|
36 const QString KCertificates = "certificates"; |
|
37 const QString KDrmDetails = "drmDetails"; |
|
38 const QString KCodeTop = "codeTop"; |
|
39 const QString KCodeBottom = "codeBottom"; // not really needed because is never sent back |
|
40 const QString KEmergency = "emergency"; |
|
41 const QString KInvalidNewLockCode = "invalidNewLockCode"; |
|
42 const QString KDefaultCode = "DefaultCode"; |
|
43 |
|
44 const QString KChecboxType = "ChecboxDialog"; |
|
45 const QString KMultiChecboxType = "MultiChecboxDialog"; |
|
46 // Keys for the return values passed back to calling application |
|
47 const QString KResultAccepted = "accepted"; // int |
|
48 const QString KSelectedMemoryIndex = "memory"; // int |
|
49 const QString KCodeTopIndex = "codeTop"; // int |
|
50 const QString KCodeBottomIndex = "codeBottom"; // int // not really needed because is never sent back |
|
51 |
|
52 // Error values |
|
53 const int KNoError = 0; |
|
54 |
|
55 #endif // SECUINOTIFICATIONPLUGINKEYS_H |