|
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 class for handlers of ussd & show imei. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CPHONEGSMMISCHANDLER_H |
|
20 #define CPHONEGSMMISCHANDLER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include "CPhoneGsmHandlerBase.h" |
|
24 |
|
25 // CLASS DECLARATION |
|
26 |
|
27 /** |
|
28 * It is base class for handlers of ussd & show imei. |
|
29 * |
|
30 * @since 1.0 |
|
31 * @lib phoneparser.lib |
|
32 */ |
|
33 class CPhoneGsmMiscHandler |
|
34 : public CPhoneGsmHandlerBase |
|
35 { |
|
36 public: // New functions |
|
37 |
|
38 /** |
|
39 * Process IMEI display. |
|
40 */ |
|
41 virtual void ProcessShowIMEIL() = 0; |
|
42 |
|
43 /** |
|
44 * Process USSD request. |
|
45 * |
|
46 * @param aString It is string to be sent. |
|
47 */ |
|
48 virtual void ProcessUssdL( const TDesC& aString ) = 0; |
|
49 |
|
50 public: // Functions from base classes |
|
51 |
|
52 /** |
|
53 * From CPhoneGsmHandlerBase, process the results of parsing. |
|
54 * |
|
55 * @param aResult It is results to be processed. |
|
56 */ |
|
57 IMPORT_C virtual void ProcessL( |
|
58 CPhoneGsmParserResult& aResult ); |
|
59 |
|
60 }; |
|
61 |
|
62 #endif // CPHONEGSMMISCHANDLER_H |
|
63 |
|
64 // End of File |