|
1 /* |
|
2 * Copyright (c) 2005-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 "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: Local variation flags for Ussd |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __USSDVARIANT_HRH__ |
|
20 #define __USSDVARIANT_HRH__ |
|
21 |
|
22 /** |
|
23 * User's guide to Local Ussd variation: |
|
24 * Shared data file: KSDUidUssdLV (10005955.ini) |
|
25 * Keyword KUssdUILV1: |
|
26 * How to use: |
|
27 * TInt featureBitmask = 0; |
|
28 * if ( sharedDataClient.Assign( KSDUidUssdLV ) == KErrNone ) |
|
29 * { |
|
30 * if ( sharedDataClient.GetInt( |
|
31 * KUssdUILV1, featureBitmask ) != KErrNone ) |
|
32 * { |
|
33 * // if problems reading shared data, assume everything is off. |
|
34 * featureBitmask = 0; |
|
35 * } |
|
36 * } |
|
37 * |
|
38 * // |
|
39 * // Get the value once and save it for later use. |
|
40 * // No need always to access shared data every time when a value is needed |
|
41 * |
|
42 * if ( featureBitmask & KUssdFeatureIdRemainingChars ) |
|
43 * { |
|
44 * // This feature is ON, so act accordingly |
|
45 * } |
|
46 */ |
|
47 |
|
48 /** |
|
49 * Shared data KSDUidUssdLV |
|
50 * Keyword KUssdUILV1: R-RemChars |
|
51 * If KUssdUILV1 is on, Ussd shows number of remaining characters |
|
52 */ |
|
53 #define KUssdFeatureIdRemainingChars 0x01 |
|
54 |
|
55 #endif // __USSDVARIANT_HRH__ |
|
56 |
|
57 // End of File |