|
1 /* |
|
2 * Copyright (c) 2004 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: Search results. |
|
15 * |
|
16 */ |
|
17 |
|
18 // INCLUDE FILES |
|
19 #include "CPEngSearchResultEntry.h" |
|
20 |
|
21 #include <CPEngSearchResult2.h> |
|
22 #include <E32Std.h> |
|
23 |
|
24 |
|
25 |
|
26 // ============================ MEMBER FUNCTIONS =============================== |
|
27 |
|
28 // ----------------------------------------------------------------------------- |
|
29 // CPEngSearchResult2::CPEngSearchResult2 |
|
30 // C++ default constructor can NOT contain any code, that |
|
31 // might leave. |
|
32 // ----------------------------------------------------------------------------- |
|
33 // |
|
34 CPEngSearchResult2::CPEngSearchResult2( CPEngSearchResultEntry& aImp ) |
|
35 : iImp( aImp ) |
|
36 { |
|
37 } |
|
38 |
|
39 |
|
40 // Destructor |
|
41 CPEngSearchResult2::~CPEngSearchResult2() |
|
42 { |
|
43 //Implementation not owned |
|
44 } |
|
45 |
|
46 |
|
47 // ----------------------------------------------------------------------------- |
|
48 // CPEngSearchResult2::CurrentFindingsCount() |
|
49 // ----------------------------------------------------------------------------- |
|
50 // |
|
51 EXPORT_C TInt CPEngSearchResult2::CurrentFindingsCount() const |
|
52 { |
|
53 return iImp.iCurrentFindingsCount; |
|
54 } |
|
55 |
|
56 |
|
57 // ----------------------------------------------------------------------------- |
|
58 // CPEngSearchResult2::ContinuationIndex() |
|
59 // ----------------------------------------------------------------------------- |
|
60 // |
|
61 EXPORT_C TInt CPEngSearchResult2::ContinuationIndex() const |
|
62 { |
|
63 return iImp.iContinuationIndex; |
|
64 } |
|
65 |
|
66 |
|
67 // ----------------------------------------------------------------------------- |
|
68 // CPEngSearchResult2::SearchCompleted() |
|
69 // ----------------------------------------------------------------------------- |
|
70 // |
|
71 EXPORT_C TBool CPEngSearchResult2::SearchCompleted() const |
|
72 { |
|
73 return iImp.iSearchCompleted; |
|
74 } |
|
75 |
|
76 |
|
77 // ----------------------------------------------------------------------------- |
|
78 // CPEngSearchResult2::UserResults() |
|
79 // ----------------------------------------------------------------------------- |
|
80 // |
|
81 EXPORT_C const MDesCArray& CPEngSearchResult2::UserResults() const |
|
82 { |
|
83 return iImp.iUserResults; |
|
84 } |
|
85 |
|
86 |
|
87 // End of File |
|
88 |
|
89 |