mds_plat/harvester_framework_api/inc/harvesterclientdata.h
changeset 60 79f826a55db2
parent 0 c53acadfccc6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mds_plat/harvester_framework_api/inc/harvesterclientdata.h	Wed Oct 06 15:08:08 2010 +0300
@@ -0,0 +1,76 @@
+/*
+* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Data transfer object for harvest client data
+ *
+*/
+
+
+#ifndef HARVESTERCLIENTDATA_H
+#define HARVESTERCLIENTDATA_H
+
+// INCLUDES
+#include <e32base.h>
+#include <e32cmn.h>
+
+#include <mdccommon.h>
+
+// FORWARD DECLARATIONS
+
+// ENUMERATIONS
+
+
+/**
+ * CHarvestClientData
+ */
+NONSHARABLE_CLASS( CHarvestClientData ) : public CBase
+	{
+    public:
+        /**
+         * New.
+         * @return Pointer to newly created object.
+         */
+        IMPORT_C static CHarvestClientData* New();
+        
+        /**
+         * NewL.
+         * Leaving version of New().
+         *
+         * @return Pointer to newly created object.
+         */
+        IMPORT_C static CHarvestClientData* NewL();
+
+        /**
+         * Destructor.
+         */
+        ~CHarvestClientData();
+
+        /**
+         * Set album ids.
+         *
+         * @param aAlbumIds Array of album ids to set.
+         */
+        IMPORT_C void SetAlbumIds( const RArray<TItemId>& aAlbumIds );
+
+    private:
+        /**
+         * Constructor.
+         */
+        CHarvestClientData();
+        
+    public: // data
+        RArray<TItemId> iAlbumIds;
+    };
+
+#endif // HARVESTERCLIENTDATA_H
+