|
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: Static functions to handle default values for |
|
15 * MCETestUIEngine objects |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 // INCLUDES |
|
24 #include "MCETestUIEngineDefaultValues.h" |
|
25 |
|
26 |
|
27 // CONSTANTS |
|
28 |
|
29 // Profile default values |
|
30 const TBool KTakeDefaultProfileToUseAtStartup = EFalse; |
|
31 const TBool KRegisterUsedProfiles = ETrue; |
|
32 |
|
33 // Session default values |
|
34 _LIT8( KSessionDefaultReceiver, "sip:receiver@10.21.32.101" ); |
|
35 |
|
36 |
|
37 |
|
38 // ----------------------------------------------------------------------------- |
|
39 // MCETestUIEngineDefaultValues::TakeDefaultProfileIntoUse |
|
40 // |
|
41 // ----------------------------------------------------------------------------- |
|
42 // |
|
43 TBool MCETestUIEngineDefaultValues::TakeDefaultProfileIntoUse() |
|
44 { |
|
45 return KTakeDefaultProfileToUseAtStartup; |
|
46 }; |
|
47 |
|
48 // ----------------------------------------------------------------------------- |
|
49 // MCETestUIEngineDefaultValues::RegisterUsedProfiles |
|
50 // |
|
51 // ----------------------------------------------------------------------------- |
|
52 // |
|
53 TBool MCETestUIEngineDefaultValues::RegisterUsedProfiles() |
|
54 { |
|
55 return KRegisterUsedProfiles; |
|
56 }; |
|
57 |
|
58 // ----------------------------------------------------------------------------- |
|
59 // MCETestUIEngineDefaultValues::DefaultSessionReceiver |
|
60 // |
|
61 // ----------------------------------------------------------------------------- |
|
62 // |
|
63 const TDesC8& MCETestUIEngineDefaultValues::DefaultSessionReceiver() |
|
64 { |
|
65 return KSessionDefaultReceiver; |
|
66 }; |
|
67 |