|
1 /* |
|
2 * Copyright (c) 2005-2006 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: Implementation class for creating master and slave pattern objects. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "musunittesting.h" |
|
20 |
|
21 #include "musavaInviteresponderobserverimp.h" |
|
22 #include "musavaobserver.h" |
|
23 #include "CSipSseTestTls.h" |
|
24 #include "muslogger.h" |
|
25 |
|
26 |
|
27 #include <e32base.h> |
|
28 #include <e32std.h> |
|
29 |
|
30 // ----------------------------------------------------------------------------- |
|
31 // Two-phased constructor. |
|
32 // ----------------------------------------------------------------------------- |
|
33 // |
|
34 CMusAvaInviteResponderObserverImp* CMusAvaInviteResponderObserverImp::NewL( ) |
|
35 { |
|
36 MUS_LOG( " [MUSAVA ] -> CMusAvaInviteResponderObserverImp::NewL" ); |
|
37 CMusAvaInviteResponderObserverImp* self = new (ELeave) CMusAvaInviteResponderObserverImp(); |
|
38 CleanupStack::PushL( self ); |
|
39 self->ConstructL(); |
|
40 CleanupStack::Pop(); |
|
41 MUS_LOG( " [MUSAVA ] <- CMusAvaInviteResponderObserverImp::NewL" ); |
|
42 return self; |
|
43 } |
|
44 |
|
45 // ----------------------------------------------------------------------------- |
|
46 // C++ destructor. |
|
47 // ----------------------------------------------------------------------------- |
|
48 // |
|
49 CMusAvaInviteResponderObserverImp::~CMusAvaInviteResponderObserverImp() |
|
50 { |
|
51 MUS_LOG( " [MUSAVA ] -> CMusAvaInviteResponderObserverImp::~CMusAvaInviteResponderObserverImp" ); |
|
52 |
|
53 MUS_LOG( " [MUSAVA ] <- CMusAvaInviteResponderObserverImp::~CMusAvaInviteResponderObserverImp" ); |
|
54 } |
|
55 |
|
56 // ----------------------------------------------------------------------------- |
|
57 // Symbian second-phase constructor. |
|
58 // ----------------------------------------------------------------------------- |
|
59 // |
|
60 void CMusAvaInviteResponderObserverImp::ConstructL() |
|
61 { |
|
62 MUS_LOG( " [MUSAVA ] -> CMusAvaInviteResponderObserverImp::ConstructL" ); |
|
63 iApplicationState = MMusAvaSettingsObserver::EApplicationStateNotDefined; |
|
64 MUS_LOG( " [MUSAVA ] <- CMusAvaInviteResponderObserverImp::ConstructL" ); |
|
65 } |
|
66 |
|
67 // ----------------------------------------------------------------------------- |
|
68 // C++ constructor. |
|
69 // ----------------------------------------------------------------------------- |
|
70 // |
|
71 CMusAvaInviteResponderObserverImp::CMusAvaInviteResponderObserverImp( ) |
|
72 { |
|
73 MUS_LOG( "[MUSAVA ] -> CMusAvaInviteResponderObserverImp::CMusAvaInviteResponderObserverImp" ); |
|
74 |
|
75 MUS_LOG( "[MUSAVA ] <- CMusAvaInviteResponderObserverImp::CMusAvaInviteResponderObserverImp" ); |
|
76 } |
|
77 |
|
78 // ----------------------------------------------------------------------------- |
|
79 // Availability report. |
|
80 // ----------------------------------------------------------------------------- |
|
81 // |
|
82 MMusAvaSettingsObserver::TApplicationState CMusAvaInviteResponderObserverImp::ApplicationState() |
|
83 { |
|
84 MUS_LOG( " [MUSAVA ] -> CMusAvaInviteResponderObserverImp::AvailabilityReport" ); |
|
85 return iApplicationState; |
|
86 MUS_LOG( " [MUSAVA ] <- CMusAvaInviteResponderObserverImp::AvailabilityReport" ); |
|
87 } |
|
88 |
|
89 // ----------------------------------------------------------------------------- |
|
90 // MusAvailability shutdown is completed. |
|
91 // ----------------------------------------------------------------------------- |
|
92 // |
|
93 void CMusAvaInviteResponderObserverImp::InvitationAnsweredLD() |
|
94 { |
|
95 MUS_LOG( " [MUSAVA ] -> CMusAvaInviteResponderObserverImp::StopComplete" ); |
|
96 |
|
97 MUS_LOG( " [MUSAVA ] -> CMusAvaInviteResponderObserverImp::StopComplete" ); |
|
98 } |
|
99 |
|
100 |
|
101 |
|
102 |