33
|
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: It is base handler for emergency number.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef CPHONEGSMEMERGENCYNUMBERHANDLER_H
|
|
20 |
#define CPHONEGSMEMERGENCYNUMBERHANDLER_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 S60 5.0
|
|
31 |
* @lib phoneparser.lib
|
|
32 |
*/
|
|
33 |
class CPhoneGsmEmergencyNumberHandler
|
|
34 |
: public CPhoneGsmHandlerBase
|
|
35 |
{
|
|
36 |
public: // New functions
|
|
37 |
|
|
38 |
/**
|
|
39 |
* Process dial to emergency number
|
|
40 |
*
|
|
41 |
* @param aNumber main number part.
|
|
42 |
*/
|
|
43 |
virtual void ProcessDialToEmergencyNumberL(
|
|
44 |
const TDesC& aNumber
|
|
45 |
) = 0;
|
|
46 |
|
|
47 |
public: // Functions from base classes
|
|
48 |
|
|
49 |
/**
|
|
50 |
* From CPhoneGsmHandlerBase, processes result.
|
|
51 |
*
|
|
52 |
* @param aResult It is to be processed.
|
|
53 |
*/
|
|
54 |
IMPORT_C virtual void ProcessL( CPhoneGsmParserResult& aResult );
|
|
55 |
};
|
|
56 |
|
|
57 |
#endif // CPHONEGSMEMERGENCYNUMBERHANDLER_H
|
|
58 |
|
|
59 |
// End of File
|