|
1 /* |
|
2 * Copyright (c) 2007 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: Base class description for all session states. |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "nspstatebase.h" |
|
19 #include "nspsessiondata.h" |
|
20 #include "nspdefs.h" |
|
21 |
|
22 // ======== MEMBER FUNCTIONS ======== |
|
23 // --------------------------------------------------------------------------- |
|
24 // CNSPStateBase::CNSPStateBase |
|
25 // --------------------------------------------------------------------------- |
|
26 // |
|
27 CNSPStateBase::CNSPStateBase() |
|
28 { |
|
29 } |
|
30 |
|
31 |
|
32 // --------------------------------------------------------------------------- |
|
33 // CNSPStateBase::~CNSPStateBase |
|
34 // --------------------------------------------------------------------------- |
|
35 // |
|
36 CNSPStateBase::~CNSPStateBase() |
|
37 { |
|
38 } |
|
39 |
|
40 |
|
41 // --------------------------------------------------------------------------- |
|
42 // CNSPStateBase::AcceptL |
|
43 // --------------------------------------------------------------------------- |
|
44 // |
|
45 TBool CNSPStateBase::AcceptL( TNSPStateMachineEvent& aEvent ) |
|
46 { |
|
47 return DoAcceptL( aEvent ); |
|
48 } |
|
49 |
|
50 |
|
51 // --------------------------------------------------------------------------- |
|
52 // CNSPStateBase::StateEntryL |
|
53 // --------------------------------------------------------------------------- |
|
54 // |
|
55 void CNSPStateBase::StateEntryL( TNSPStateMachineEvent& aEvent ) |
|
56 { |
|
57 DoStateEntryL( aEvent ); |
|
58 } |
|
59 |
|
60 |
|
61 // --------------------------------------------------------------------------- |
|
62 // CNSPStateBase::Reverse |
|
63 // --------------------------------------------------------------------------- |
|
64 // |
|
65 void CNSPStateBase::Reverse( TNSPStateMachineEvent& aEvent ) |
|
66 { |
|
67 DoReverse( aEvent ); |
|
68 } |
|
69 |
|
70 |
|
71 // --------------------------------------------------------------------------- |
|
72 // CNSPStateBase::DoApplyL |
|
73 // --------------------------------------------------------------------------- |
|
74 // |
|
75 void CNSPStateBase::ApplyL( TNSPStateMachineEvent& aEvent ) |
|
76 { |
|
77 DoApplyL( aEvent ); |
|
78 } |
|
79 |
|
80 |
|
81 // --------------------------------------------------------------------------- |
|
82 // CNSPStateBase::ExitL |
|
83 // --------------------------------------------------------------------------- |
|
84 // |
|
85 void CNSPStateBase::ExitL( TNSPStateMachineEvent& aEvent ) |
|
86 { |
|
87 DoExitL( aEvent ); |
|
88 } |
|
89 |
|
90 |
|
91 // end of file |