|
1 /* |
|
2 * Copyright (c) 2002 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: |
|
15 * Global behaviour for MAknQueryValue objects |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #include "AknQueryValue.h" |
|
21 #include "AknPanic.h" |
|
22 |
|
23 //------------------------------------------------- |
|
24 // class CAknQueryValue |
|
25 //------------------------------------------------- |
|
26 |
|
27 EXPORT_C void MAknQueryValue::Reserved_MAknQueryValue() |
|
28 { |
|
29 }; |
|
30 |
|
31 EXPORT_C void CAknQueryValue::SetQueryMode(MAknQueryValue::TMode aMode) |
|
32 { |
|
33 switch (aMode ) |
|
34 { |
|
35 case EQueryMode: |
|
36 iFlags.Clear( ESettingPageModeBitIndex ); |
|
37 break; |
|
38 |
|
39 case ESettingPageMode: |
|
40 iFlags.Set( ESettingPageModeBitIndex ); |
|
41 break; |
|
42 |
|
43 default: |
|
44 Panic( EAknPanicQueryValueInvalidMode ); |
|
45 break; |
|
46 } |
|
47 } |
|
48 |
|
49 EXPORT_C void CAknQueryValue::SetSettingPageResourceIds( TInt aSettingPageResourceId, TInt aSettingPageEditorResourceId ) |
|
50 { |
|
51 iSettingPageResourceId = aSettingPageResourceId; |
|
52 iSettingPageEditorResourceId = aSettingPageEditorResourceId; |
|
53 } |
|
54 |
|
55 EXPORT_C void CAknQueryValue::SetAutoAppend( TBool aAppend ) |
|
56 { |
|
57 iFlags.Assign(EAutoAppendBitIndex, aAppend); |
|
58 } |
|
59 |
|
60 EXPORT_C void CAknQueryValue::AppendValueIfNewL() |
|
61 { |
|
62 } |
|
63 |
|
64 EXPORT_C void CAknQueryValue::Reserved_MAknQueryValue() |
|
65 { |
|
66 }; |
|
67 |
|
68 |
|
69 // End of File |