|
1 /* |
|
2 * Copyright (c) 2005 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: MT event is established. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 #ifndef CMCEEVENTSUBSCRIBEMTESTABLISHEDSTATE_H |
|
23 #define CMCEEVENTSUBSCRIBEMTESTABLISHEDSTATE_H |
|
24 |
|
25 // INCLUDES |
|
26 #include "mceeventstatebase.h" |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 * MT event is established. |
|
32 * |
|
33 * @lib |
|
34 * @since |
|
35 */ |
|
36 class CMceEventSubscribeMtEstablishedState : public CMceEventStateBase |
|
37 { |
|
38 public: // Constructors and destructor |
|
39 |
|
40 /** |
|
41 * C++ default constructor. |
|
42 */ |
|
43 CMceEventSubscribeMtEstablishedState(); |
|
44 |
|
45 /** |
|
46 * Destructor. |
|
47 */ |
|
48 ~CMceEventSubscribeMtEstablishedState(); |
|
49 |
|
50 protected: // Functions from base classes |
|
51 |
|
52 /** |
|
53 * From CMceEventStateBase Apply concrete state. |
|
54 * This function handles the action from the client. |
|
55 * @param aEvent, a reference to CMceComEvent |
|
56 */ |
|
57 void HandleL( CMceComEvent& aEvent ); |
|
58 |
|
59 /** |
|
60 * From CMceEventStateBase Apply concrete state. |
|
61 * This function handles the request received from the SIP stack. |
|
62 * @param aEvent, a reference to CMceComEvent |
|
63 */ |
|
64 void HandleReceiveRequestL( CMceComEvent& aEvent ); |
|
65 |
|
66 /** |
|
67 * From CMceEventStateBase Apply concrete state. |
|
68 * This function handles the response or error received from the |
|
69 * SIP stack. |
|
70 * @param aEvent, a reference to CMceComEvent |
|
71 */ |
|
72 void HandleResponseReceivedL( CMceComEvent& aEvent ); |
|
73 |
|
74 private://EUNIT |
|
75 friend class UT_CMceEventSubscribeMtEstablishedState; |
|
76 |
|
77 }; |
|
78 |
|
79 #endif // CMCEEVENTSUBSCRIBEMTESTABLISHEDSTATE_H |
|
80 |
|
81 // End of File |