1 /* |
1 /* |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
29 |
29 |
30 /** |
30 /** |
31 * CVmbxEmergencyCall declaration |
31 * CVmbxEmergencyCall declaration |
32 * |
32 * |
33 * @lib vmbxengine.lib |
33 * @lib vmbxengine.lib |
34 * @since S60 v5.2 |
|
35 */ |
34 */ |
36 NONSHARABLE_CLASS( CVmbxEmergencyCall ) : public CBase, |
35 NONSHARABLE_CLASS( CVmbxEmergencyCall ) : public CBase, |
37 public MPhCltEmergencyCallObserver |
36 public MPhCltEmergencyCallObserver |
38 { |
37 { |
39 public: |
38 public: |
40 |
39 |
41 /** |
40 /** |
42 * Two-phased constructor |
41 * Two-phased constructor |
43 * @since S60 v5.2 |
|
44 */ |
42 */ |
45 static CVmbxEmergencyCall* NewL(); |
43 static CVmbxEmergencyCall* NewL(); |
46 |
44 |
47 /** |
45 /** |
48 * Destructor. |
46 * Destructor. |
49 * @since S60 v5.2 |
|
50 */ |
47 */ |
51 ~CVmbxEmergencyCall(); |
48 ~CVmbxEmergencyCall(); |
52 |
49 |
53 /** |
50 /** |
54 * Verifies that the given number is not an emergency number. |
51 * Verifies that the given number is not an emergency number. |
55 * |
52 * |
56 * @since S60 v5.2 |
|
57 * @param aNumber Mailbox number |
53 * @param aNumber Mailbox number |
58 * @return ETrue if emergency number |
54 * @return ETrue if emergency number |
59 */ |
55 */ |
60 TBool IsEmergencyNumber( const TDesC& aNumber ); |
56 TBool IsEmergencyNumber( const TDesC& aNumber ); |
61 |
57 |
62 private: // New Functions |
58 private: // New Functions |
63 |
59 |
64 /** |
60 /** |
65 * C++ default constructor. |
61 * C++ default constructor. |
66 * |
62 * |
67 * @since S60 v5.2 |
|
68 */ |
63 */ |
69 CVmbxEmergencyCall(); |
64 CVmbxEmergencyCall(); |
70 |
65 |
71 /** |
66 /** |
72 * C++ Two-phased constructor. |
67 * C++ Two-phased constructor. |
73 * @since S60 v5.2 |
|
74 */ |
68 */ |
75 void ConstructL(); |
69 void ConstructL(); |
76 |
70 |
77 private: // Functions from base classes |
71 private: // Functions from base classes |
78 |
72 |
79 /** |
73 /** |
80 * Handle dial request completion. |
74 * Handle dial request completion. |
81 * |
75 * |
82 * @see MPhCltExtPhoneObserver::HandleDialL(). |
76 * @see MPhCltExtPhoneObserver::HandleDialL(). |
83 * |
77 * |
84 * @since S60 v5.2 |
|
85 * @param aEntry Reference to store handler |
78 * @param aEntry Reference to store handler |
86 */ |
79 */ |
87 void HandleDialL( const TInt aStatus ); |
80 void HandleDialL( const TInt aStatus ); |
88 |
81 |
89 /** |
82 /** |
90 * Handling of emergency dial result. |
83 * Handling of emergency dial result. |
91 * |
84 * |
92 * @since S60 v5.2 |
|
93 * @param aEntry Reference to store handler |
85 * @param aEntry Reference to store handler |
94 */ |
86 */ |
95 void HandleEmergencyDialL( const TInt aStatus ); |
87 void HandleEmergencyDialL( const TInt aStatus ); |
96 |
88 |
97 }; |
89 }; |