equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006-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: Data transfer object for harvest client data |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef HARVESTERCLIENTDATA_H |
|
20 #define HARVESTERCLIENTDATA_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 #include <e32cmn.h> |
|
25 |
|
26 #include <mdccommon.h> |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 |
|
30 // ENUMERATIONS |
|
31 |
|
32 |
|
33 /** |
|
34 * CHarvestClientData |
|
35 */ |
|
36 NONSHARABLE_CLASS( CHarvestClientData ) : public CBase |
|
37 { |
|
38 public: |
|
39 /** |
|
40 * New. |
|
41 * @return Pointer to newly created object. |
|
42 */ |
|
43 IMPORT_C static CHarvestClientData* New(); |
|
44 |
|
45 /** |
|
46 * NewL. |
|
47 * Leaving version of New(). |
|
48 * |
|
49 * @return Pointer to newly created object. |
|
50 */ |
|
51 IMPORT_C static CHarvestClientData* NewL(); |
|
52 |
|
53 /** |
|
54 * Destructor. |
|
55 */ |
|
56 ~CHarvestClientData(); |
|
57 |
|
58 /** |
|
59 * Set album ids. |
|
60 * |
|
61 * @param aAlbumIds Array of album ids to set. |
|
62 */ |
|
63 IMPORT_C void SetAlbumIds( const RArray<TItemId>& aAlbumIds ); |
|
64 |
|
65 private: |
|
66 /** |
|
67 * Constructor. |
|
68 */ |
|
69 CHarvestClientData(); |
|
70 |
|
71 public: // data |
|
72 RArray<TItemId> iAlbumIds; |
|
73 }; |
|
74 |
|
75 #endif // HARVESTERCLIENTDATA_H |
|
76 |