|
1 /* |
|
2 * Copyright (c) 2009 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 #include "mdeorderrule.h" |
|
20 #include "mdepropertydef.h" |
|
21 |
|
22 |
|
23 EXPORT_C TMdEOrderRule::TMdEOrderRule(TOrderRuleType aType, TBool aAscending) |
|
24 : iType(aType), |
|
25 iAscending(aAscending), |
|
26 iCaseSensitive(ETrue) |
|
27 { |
|
28 } |
|
29 |
|
30 |
|
31 EXPORT_C TMdEOrderRule::TMdEOrderRule(const CMdEPropertyDef& aPropertyDef, TBool aAscending) |
|
32 : iType(EOrderRuleTypeProperty), iPropertyDef(&aPropertyDef), |
|
33 iAscending(aAscending), iCaseSensitive(ETrue) |
|
34 { |
|
35 } |
|
36 |
|
37 |
|
38 EXPORT_C TOrderRuleType TMdEOrderRule::Type() const |
|
39 { |
|
40 } |
|
41 |
|
42 |
|
43 EXPORT_C void TMdEOrderRule::SetType(TOrderRuleType aType) |
|
44 { |
|
45 } |
|
46 |
|
47 |
|
48 EXPORT_C TBool TMdEOrderRule::Ascending() const |
|
49 { |
|
50 } |
|
51 |
|
52 |
|
53 EXPORT_C void TMdEOrderRule::SetAscending(TBool aAscending) |
|
54 { |
|
55 } |
|
56 |
|
57 |
|
58 EXPORT_C const CMdEPropertyDef* TMdEOrderRule::PropertyDef() const |
|
59 { |
|
60 } |
|
61 |
|
62 |
|
63 EXPORT_C void TMdEOrderRule::SetPropertyDef(const CMdEPropertyDef& aPropertyDef) |
|
64 { |
|
65 } |
|
66 |
|
67 EXPORT_C void TMdEOrderRule::SetCaseSensitive(TBool aCaseSensitive) |
|
68 { |
|
69 } |
|
70 |
|
71 EXPORT_C TBool TMdEOrderRule::CaseSensitive() |
|
72 { |
|
73 } |
|
74 |
|
75 TUint32 TMdEOrderRule::RequiredBufferSize() const |
|
76 { |
|
77 } |
|
78 |
|
79 void TMdEOrderRule::SerializeL(CMdCSerializationBuffer& aBuffer, |
|
80 TMdCOffset& aFreespaceOffset) const |
|
81 { |
|
82 } |