|
1 /* |
|
2 * Copyright (c) 2002 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: It is handler for PCN specific procedures. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CPHONEGSMPCNPROCEDUREHANDLER_H |
|
20 #define CPHONEGSMPCNPROCEDUREHANDLER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include "CPhoneGsmHandlerBase.h" |
|
24 |
|
25 // CLASS DECLARATION |
|
26 |
|
27 /** |
|
28 * It is handler for GsmPcn procedures. |
|
29 * |
|
30 * @since 1.0 |
|
31 * @lib phoneparser.lib |
|
32 */ |
|
33 class CPhoneGsmPcnProcedureHandler |
|
34 : public CPhoneGsmHandlerBase |
|
35 { |
|
36 public: // New functions |
|
37 |
|
38 /** |
|
39 * Process SIM locking. |
|
40 * |
|
41 * Parameters are empty strings if SIM lock |
|
42 * code was just garbage. |
|
43 * |
|
44 * @param aPassword sequence of digits. |
|
45 * @param aType sequence of digits. |
|
46 */ |
|
47 virtual void ProcessSimLockL( |
|
48 const TDesC& aPassword, |
|
49 const TDesC& aType ) = 0; |
|
50 |
|
51 /** |
|
52 * Process SIM unlocking. |
|
53 * |
|
54 * Parameters are empty strings if SIM unlock |
|
55 * code was just garbage. |
|
56 * |
|
57 * @param aPassword sequence of digits. |
|
58 * @param aType sequence of digits. |
|
59 */ |
|
60 virtual void ProcessSimUnlockL( |
|
61 const TDesC& aPassword, |
|
62 const TDesC& aType ) = 0; |
|
63 |
|
64 public: // Functions from base classes |
|
65 |
|
66 /** |
|
67 * From CPhoneGsmHandlerBase, processes result. |
|
68 * |
|
69 * @param aResult It is to be processed. |
|
70 */ |
|
71 IMPORT_C virtual void ProcessL( CPhoneGsmParserResult& aResult ); |
|
72 |
|
73 }; |
|
74 |
|
75 #endif // CPHONEGSMPCNPROCEDUREHANDLER_H |
|
76 |
|
77 // End of File |