|
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 inline void CAgnInstanceExtractor::SetIndex(CAgnIndex& aSimpleEntryIndex) |
|
17 /** Sets a reference to a CAgnIndex in the extractor. |
|
18 |
|
19 @param aSimpleEntryIndex The Index to iterate over. */ |
|
20 { |
|
21 iIterator->SetIndex(aSimpleEntryIndex); |
|
22 } |
|
23 |
|
24 inline void CAgnInstanceExtractor::SetFilter(const TAgnFilter& aFilter) |
|
25 /** Sets a Filter in the Extractor's Iterator |
|
26 |
|
27 @param aFilter The filter that is set. */ |
|
28 { |
|
29 iIterator->SetFilter(aFilter); |
|
30 } |
|
31 |
|
32 inline void CAgnInstanceExtractor::SetUndatedTodoTime(const TTime& aUndatedTodoTime) |
|
33 /** Sets today's date in the extractor and also in the iterator the |
|
34 extractor owns |
|
35 |
|
36 @param aUndatedTodoTime The time to use for undated todos. */ |
|
37 { |
|
38 iUndatedTodoTime = aUndatedTodoTime; |
|
39 iIterator->SetUndatedTodoTime(aUndatedTodoTime); |
|
40 } |
|
41 |
|
42 inline const TTime& CAgnInstanceExtractor::UndatedTodoTime() const |
|
43 /** Fetch today's date from the extractor. |
|
44 |
|
45 @return The time to use for undated todos. */ |
|
46 { |
|
47 return iUndatedTodoTime; |
|
48 } |
|
49 |
|
50 inline const TAgnFilter* CAgnInstanceExtractor::Filter() const |
|
51 /** Get the filter from the extractor's iterator |
|
52 |
|
53 @return a reference to the filter kept in the extractor's iterator */ |
|
54 { |
|
55 return iIterator->Filter(); |
|
56 } |
|
57 |
|
58 |