1 /* |
|
2 * Copyright (c) 2008 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: Header file of the CPEGsmParserPhoneNumberHandler class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CPEPARSEREMERGENCYNUMBERHANDLER_H |
|
20 #define CPEPARSEREMERGENCYNUMBERHANDLER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <cphonegsmemergencynumberhandler.h> |
|
24 #include <pevirtualengine.h> |
|
25 |
|
26 // CONSTANTS |
|
27 // None. |
|
28 |
|
29 // MACROS |
|
30 // None. |
|
31 |
|
32 // DATA TYPES |
|
33 // None. |
|
34 |
|
35 // FUNCTION PROTOTYPES |
|
36 // None. |
|
37 |
|
38 // FORWARD DECLARATIONS |
|
39 class MPECallHandling; |
|
40 class CPEMessageHandler; |
|
41 class MPEDataStore; |
|
42 |
|
43 // CLASS DECLARATION |
|
44 |
|
45 /** |
|
46 * Handles phone related messages from the CPEPhoneModel object. |
|
47 * |
|
48 * @lib PhoneEngineGsm.lib |
|
49 * @since since S60 5.0 |
|
50 */ |
|
51 NONSHARABLE_CLASS( CPEParserEmergencyNumberHandler ) : public CPhoneGsmEmergencyNumberHandler |
|
52 { |
|
53 public: //Constructors and descructor |
|
54 |
|
55 /** |
|
56 * C++ default constructor. |
|
57 */ |
|
58 CPEParserEmergencyNumberHandler( |
|
59 CPEMessageHandler& aOwner, |
|
60 MPECallHandling& aCallHandling, |
|
61 MPEDataStore& aGsmDataStore ); |
|
62 |
|
63 public: // Functions from base classes |
|
64 |
|
65 /** |
|
66 * Process dial to emergency number |
|
67 * @param aNumber main number part. |
|
68 */ |
|
69 void ProcessDialToEmergencyNumberL( |
|
70 const TDesC& aNumber |
|
71 ); |
|
72 |
|
73 //public: //New functions |
|
74 |
|
75 private: |
|
76 // CPEMessageHandler object which owns this requester. |
|
77 CPEMessageHandler& iOwner; |
|
78 // CPEPhoneData is used to create request to the CallHandling subsystem. |
|
79 MPECallHandling& iCallHandling; |
|
80 // Reference to common data store |
|
81 MPEDataStore& iDataStore; |
|
82 }; |
|
83 |
|
84 #endif // CPEPARSEREMERGENCYNUMBERHANDLER_H |
|
85 |
|
86 // End of File |
|