|
1 /* |
|
2 * Copyright (c) 2007-2008 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 the License "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: Data class for RSS search query.* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 #ifndef TIPTVRSSSEARCHQUERY_H |
|
21 #define TIPTVRSSSEARCHQUERY_H |
|
22 |
|
23 #include <e32std.h> |
|
24 #include "TIptvRssSearchQuery.h" |
|
25 #include "CIptvUtil.h" |
|
26 |
|
27 /** |
|
28 * Data class for RSS search query. |
|
29 * |
|
30 * @lib IptvUtil.lib |
|
31 * @since Video Center 3.0 |
|
32 */ |
|
33 class TIptvRssSearchQuery |
|
34 { |
|
35 public: |
|
36 |
|
37 /** |
|
38 * Constructor |
|
39 */ |
|
40 IMPORT_C TIptvRssSearchQuery(); |
|
41 |
|
42 /** |
|
43 * Destructor |
|
44 */ |
|
45 IMPORT_C ~TIptvRssSearchQuery(); |
|
46 |
|
47 /** |
|
48 * Getter for search string |
|
49 * |
|
50 * @return Reference to the search string |
|
51 */ |
|
52 IMPORT_C TDesC& SearchString(); |
|
53 |
|
54 /** |
|
55 * Setter for search string |
|
56 * |
|
57 * @param aSearchString Search string to be assigned for this class. |
|
58 */ |
|
59 IMPORT_C void SetSearchString( TDesC& aSearchString ); |
|
60 |
|
61 private: // Instance variables |
|
62 |
|
63 /** |
|
64 * Instance variable holding the search string for the query |
|
65 */ |
|
66 TBuf16<KIptvRssSearchMaxSearchStringLength> iSearchString; |
|
67 }; |
|
68 |
|
69 #endif // TIPTVRSSSEARCHQUERY_H |