diff -r bef90b82da71 -r 796276a1bdcc instantmessagesalert/tsrc/testinstantmsgalert/data/Branch_Coverage/indexD7.html --- a/instantmessagesalert/tsrc/testinstantmsgalert/data/Branch_Coverage/indexD7.html Mon Mar 15 12:39:32 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,104 +0,0 @@ - -
-Start/ | End/ | |||
True | False | - | Line | Source |
1 | /* | |||
2 | * Copyright (c) 2008 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 the License "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: vimpst settings store definitions and repository transactions. | |||
15 | * | |||
16 | */ | |||
17 | ||||
18 | ||||
19 | // INCLUDES | |||
20 | #include <e32base.h> | |||
21 | #include "s_vimpstsettingsstoreimp.h" | |||
22 | ||||
23 | /** | |||
24 | * vimpst settings API class | |||
25 | * | |||
26 | * Main class of managing vimpst settings | |||
27 | * | |||
28 | * @code example code of how to get/set a value to the setting item in cenrep | |||
29 | * MVIMPSTSettingsStore* obj = CVIMPSTUiSettingsStoreFactory::NewL(); | |||
30 | * TInt value = 1; | |||
31 | * TInt err = obj->Set(serviceId, ETOUDlgOff, value ); | |||
32 | * similarly for getting the value | |||
33 | * obj->Get(serviceId, ETOUDlgOff, value); | |||
34 | * @lib vimpstsettingsstore.lib | |||
35 | * @since S60 v5.0 | |||
36 | */ | |||
37 | ||||
38 | // ----------------------------------------------------------------------------- | |||
39 | // CVIMPSTSettingsStoreFactory::NewL | |||
40 | // Create an instance of the class CVIMPSTSettingsStoreImp | |||
41 | // ----------------------------------------------------------------------------- | |||
42 | // | |||
Top | ||||
17 | 0 | 43 | EXPORT_C MVIMPSTSettingsStore* CVIMPSTSettingsStore::NewL() | |
44 | { | |||
45 | MVIMPSTSettingsStore* self = CVIMPSTSettingsStoreImp::NewL(); | |||
46 | ||||
17 | 47 | return self; | ||
48 | } | |||
49 | ||||
50 | // ----------------------------------------------------------------------------- | |||
51 | // CVIMPSTEngineFactory::Destructor | |||
52 | // Release the singelton | |||
53 | // ----------------------------------------------------------------------------- | |||
54 | // | |||
Top | ||||
0 | 0 | - | 55 | CVIMPSTSettingsStore::~CVIMPSTSettingsStore() |
56 | { | |||
57 | CVIMPSTSettingsStoreImp::Release(); | |||
58 | } | |||
59 | // ----------------------------------------------------------------------------- | |||
60 | // CVIMPSTSettingsStoreFactory::NewLC | |||
61 | // Create an instance of the class CVIMPSTSettingsStoreImp | |||
62 | // ----------------------------------------------------------------------------- | |||
63 | // | |||
64 | ||||
Top | ||||
0 | 0 | - | 65 | EXPORT_C MVIMPSTSettingsStore* CVIMPSTSettingsStore::NewLC() |
66 | { | |||
67 | MVIMPSTSettingsStore* self = CVIMPSTSettingsStoreImp::InitialiseLibraryL(); | |||
68 | CleanupDeletePushL ( self ); | |||
0 | - | 69 | return self; | |
70 | } | |||
71 | ||||
72 | ||||
73 | // End of file | |||
***TER 40% (2/5) of SOURCE FILE s_vimpstsettingsstore.cpp |