|
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 "musavasettingsobserverimp.h" |
|
20 #include "musunittesting.h" |
|
21 #include "musavaobserver.h" |
|
22 #include "CSipSseTestTls.h" |
|
23 #include "muslogger.h" |
|
24 |
|
25 |
|
26 #include <e32base.h> |
|
27 #include <e32std.h> |
|
28 |
|
29 // ----------------------------------------------------------------------------- |
|
30 // Two-phased constructor. |
|
31 // ----------------------------------------------------------------------------- |
|
32 // |
|
33 CMusAvaSettingsObserverImp* CMusAvaSettingsObserverImp::NewL( ) |
|
34 { |
|
35 MUS_LOG( " [MUSAVA ] -> CMusAvaSettingsObserverImp::NewL" ); |
|
36 CMusAvaSettingsObserverImp* self = new (ELeave) CMusAvaSettingsObserverImp(); |
|
37 CleanupStack::PushL( self ); |
|
38 self->ConstructL(); |
|
39 CleanupStack::Pop(); |
|
40 MUS_LOG( " [MUSAVA ] <- CMusAvaSettingsObserverImp::NewL" ); |
|
41 return self; |
|
42 } |
|
43 |
|
44 // ----------------------------------------------------------------------------- |
|
45 // C++ destructor. |
|
46 // ----------------------------------------------------------------------------- |
|
47 // |
|
48 CMusAvaSettingsObserverImp::~CMusAvaSettingsObserverImp() |
|
49 { |
|
50 MUS_LOG( " [MUSAVA ] -> CMusAvaSettingsObserverImp::~CMusAvaSettingsObserverImp" ); |
|
51 |
|
52 MUS_LOG( " [MUSAVA ] <- CMusAvaSettingsObserverImp::~CMusAvaSettingsObserverImp" ); |
|
53 } |
|
54 |
|
55 // ----------------------------------------------------------------------------- |
|
56 // Symbian second-phase constructor. |
|
57 // ----------------------------------------------------------------------------- |
|
58 // |
|
59 void CMusAvaSettingsObserverImp::ConstructL() |
|
60 { |
|
61 MUS_LOG( " [MUSAVA ] -> CMusAvaSettingsObserverImp::ConstructL" ); |
|
62 |
|
63 MUS_LOG( " [MUSAVA ] <- CMusAvaSettingsObserverImp::ConstructL" ); |
|
64 } |
|
65 |
|
66 // ----------------------------------------------------------------------------- |
|
67 // C++ constructor. |
|
68 // ----------------------------------------------------------------------------- |
|
69 // |
|
70 CMusAvaSettingsObserverImp::CMusAvaSettingsObserverImp( ) |
|
71 { |
|
72 MUS_LOG( "[MUSAVA ] -> CMusAvaSettingsObserverImp::CMusAvaSettingsObserverImp" ); |
|
73 |
|
74 MUS_LOG( "[MUSAVA ] <- CMusAvaSettingsObserverImp::CMusAvaSettingsObserverImp" ); |
|
75 } |
|
76 |
|
77 |
|
78 |
|
79 // ----------------------------------------------------------------------------- |
|
80 // Availability report. |
|
81 // ----------------------------------------------------------------------------- |
|
82 // |
|
83 MMusAvaSettingsObserver::TApplicationState CMusAvaSettingsObserverImp::ApplicationState() |
|
84 { |
|
85 MUS_LOG( " [MUSAVA ] -> CMusAvaSettingsObserverImp::ApplicationState" ); |
|
86 MUS_LOG( " [MUSAVA ] <- CMusAvaSettingsObserverImp::ApplicationState" ); |
|
87 return MMusAvaSettingsObserver::EApplicationIsRunning; |
|
88 } |
|
89 |
|
90 |
|
91 // ----------------------------------------------------------------------------- |
|
92 // |
|
93 // ----------------------------------------------------------------------------- |
|
94 // |
|
95 TBool CMusAvaSettingsObserverImp::OptionAllowed() |
|
96 { |
|
97 MUS_LOG( " [MUSAVA ] -> CMusAvaSettingsObserverImp::OptionAllowed" ); |
|
98 MUS_LOG( " [MUSAVA ] <- CMusAvaSettingsObserverImp::OptionAllowed" ); |
|
99 return iOptionAllowed; |
|
100 } |
|
101 |
|
102 |