|
1 /* |
|
2 * Copyright (c) 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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef IRSETTINGSUTILITY_H |
|
20 #define IRSETTINGSUTILITY_H |
|
21 |
|
22 #include <e32cmn.h> |
|
23 |
|
24 class CDictionaryStore; |
|
25 |
|
26 NONSHARABLE_CLASS( IRSettingsUtility ) |
|
27 { |
|
28 |
|
29 public: |
|
30 |
|
31 static void WriteIntL( CDictionaryStore& aDictionary, TUid aUid, TInt aValue ); |
|
32 static void WriteInt64L( CDictionaryStore& aDictionary, TUid aUid, TInt64 aValue ); |
|
33 static void WriteUintL( CDictionaryStore& aDictionary, TUid aUid, TUint aValue ); |
|
34 static void WriteBoolL( CDictionaryStore& aDictionary, TUid aUid, TBool aValue ); |
|
35 static void WriteStringL( CDictionaryStore& aDictionary, TUid aUid, const TDesC& aValue ); |
|
36 |
|
37 static TInt ReadIntL( CDictionaryStore& aDictionary, TUid aUid ); |
|
38 static TInt64 ReadInt64L( CDictionaryStore& aDictionary, TUid aUid ); |
|
39 static TUint ReadUintL( CDictionaryStore& aDictionary, TUid aUid ); |
|
40 static TBool ReadBoolL( CDictionaryStore& aDictionary, TUid aUid ); |
|
41 static HBufC* ReadStringL( CDictionaryStore& aDictionary, TUid aUid ); |
|
42 |
|
43 }; |
|
44 |
|
45 #endif // IRSETTINGSUTILITY_H |