1 /* |
|
2 * Copyright (c) 2002-2004 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: Emergency Number Subsession. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CPHSRVSUBSESSIONEMERGENCYNUM_H |
|
19 #define CPHSRVSUBSESSIONEMERGENCYNUM_H |
|
20 |
|
21 |
|
22 // INCLUDES |
|
23 #include "cphsrvsubsessionbase.h" |
|
24 |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * Emergency Number subsession. |
|
30 * |
|
31 * @since 1.0 |
|
32 */ |
|
33 class CPhSrvSubSessionEmergencyNum : public CPhSrvSubSessionBase |
|
34 { |
|
35 public: // Constructors and destructor |
|
36 |
|
37 /** |
|
38 * Constructor |
|
39 * |
|
40 * @param aSession The session where this subsession belongs. |
|
41 */ |
|
42 CPhSrvSubSessionEmergencyNum( CPhSrvSession& aSession ); |
|
43 |
|
44 /** |
|
45 * @see CPhSrvSubSessionBase |
|
46 */ |
|
47 void ConstructL(); |
|
48 |
|
49 |
|
50 private: |
|
51 /** |
|
52 * @see MPhSrvMessageDecoder |
|
53 */ |
|
54 TBool PhSrvMessageDecoderCanProcessMessage( TInt aFunction ); |
|
55 |
|
56 /** |
|
57 * @see MPhSrvMessageProcessor |
|
58 */ |
|
59 void PhSrvMessageProcessorHandleMessageL( const RMessage2& aMessage ); |
|
60 |
|
61 private: // SubSession function handlers |
|
62 |
|
63 void CmdSubSessionCloseL( const RMessage2& aMessage ); |
|
64 |
|
65 void CmdSubSessionIsEmergencyNumberL( const RMessage2& aMessage ); |
|
66 |
|
67 void CmdSubSessionDialEmergencyCallL( const RMessage2& aMessage ); |
|
68 |
|
69 void CmdSubSessionDialEmergencyCallCancelL( const RMessage2& aMessage ); |
|
70 |
|
71 }; |
|
72 |
|
73 #endif // CPHSRVSUBSESSIONEMERGENCYNUM_H |
|
74 |
|
75 |
|
76 // End of File |
|