|
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 base handler for phone number. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CPHONEGSMPHONENUMBERHANDLER_H |
|
20 #define CPHONEGSMPHONENUMBERHANDLER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include "CPhoneGsmHandlerBase.h" |
|
24 |
|
25 // CLASS DECLARATION |
|
26 |
|
27 /** |
|
28 * It is base handler for phone number. |
|
29 * |
|
30 * @since 1.0 |
|
31 * @lib phoneparser.lib |
|
32 */ |
|
33 class CPhoneGsmPhoneNumberHandler |
|
34 : public CPhoneGsmHandlerBase |
|
35 { |
|
36 public: // New functions |
|
37 |
|
38 /** |
|
39 * Clir overriding options |
|
40 * |
|
41 * EClirDefault - default clir |
|
42 * EClirInvoke - explicit invoke |
|
43 * EClirSuppress - explicit suppress |
|
44 */ |
|
45 enum TClir |
|
46 { |
|
47 EClirDefault, |
|
48 EClirInvoke, |
|
49 EClirSuppress |
|
50 }; |
|
51 |
|
52 /** |
|
53 * Process dial to number |
|
54 * |
|
55 * @param aNumber main number part. |
|
56 * @param aDtmfPostfix dtmf postfix. |
|
57 * @param aClir clir part. |
|
58 */ |
|
59 virtual void ProcessDialToNumberL( |
|
60 const TDesC& aNumber, |
|
61 const TDesC& aDtmfPostfix, |
|
62 TClir aClir ) = 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 #endif // CPHONEGSMPHONENUMBERHANDLER_H |
|
75 |
|
76 // End of File |