|
1 /* |
|
2 * Copyright (c) 2006-2007 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: ECom search interface definition. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef C_CALDESC_H |
|
21 #define C_CALDESC_H |
|
22 |
|
23 #include <e32base.h> |
|
24 |
|
25 class CCalDesC : public CBase |
|
26 { |
|
27 public: |
|
28 |
|
29 /** |
|
30 * standard constructor. |
|
31 * |
|
32 */ |
|
33 CCalDesC(); |
|
34 |
|
35 /** |
|
36 * destructor. |
|
37 * |
|
38 */ |
|
39 ~CCalDesC(); |
|
40 |
|
41 /** |
|
42 * Fills the Description of CalEntry for mapping with Uid. |
|
43 * |
|
44 * @param aDes Description of CalEntry. |
|
45 */ |
|
46 void SetSnippetL(const TDesC& aDes ); |
|
47 |
|
48 /** |
|
49 * Fills the Summary of CalEntry for mapping with Uid. |
|
50 * |
|
51 * @param aDes Description of CalEntry. |
|
52 */ |
|
53 void SetSummaryL( const TDesC& aDes ); |
|
54 |
|
55 /** |
|
56 * Fills the Uid of CalEntry for mapping with Description. |
|
57 * |
|
58 * @param aDes Uid of CalEntry. |
|
59 */ |
|
60 void SetUidL( const TDesC8& aUid ); |
|
61 |
|
62 /** |
|
63 * Gives the Description of CalEntry for mapping with Uid. |
|
64 * |
|
65 * @return aDes Description of CalEntry. |
|
66 */ |
|
67 HBufC* GetSnippet(); |
|
68 |
|
69 /** |
|
70 * Gives the Summary of the CalEntry for mapping with Uid. |
|
71 * |
|
72 * @return the Summary of CalEntry. |
|
73 */ |
|
74 HBufC* GetSummary(); |
|
75 |
|
76 /** |
|
77 * Gives the Uid of the CalEntry for mapping with Description. |
|
78 * |
|
79 * @return Uid of CalEntry. |
|
80 */ |
|
81 HBufC8* GetUid(); |
|
82 |
|
83 private: |
|
84 |
|
85 /** |
|
86 * Uid of the calendar entry. |
|
87 * |
|
88 * Own. |
|
89 */ |
|
90 HBufC8* iUidDes; |
|
91 |
|
92 /** |
|
93 * Snippet of the result. |
|
94 * Own. |
|
95 */ |
|
96 HBufC16* iSnippet; |
|
97 |
|
98 /** |
|
99 * Summary of the calendar entry. |
|
100 * |
|
101 * Own. |
|
102 */ |
|
103 HBufC16* iSummary; |
|
104 |
|
105 /** |
|
106 * Keyword position for the snippet. |
|
107 * |
|
108 */ |
|
109 TInt iKeyWordPosition; |
|
110 }; |
|
111 |
|
112 #endif // C_CALDESC_H |
|
113 |
|
114 // End of File |