--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/harvester/client/inc/clientharvestitem.h Mon Jan 18 20:34:07 2010 +0200
@@ -0,0 +1,72 @@
+/*
+* Copyright (c) 2007-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: Client harvest item
+*
+*/
+
+
+#ifndef __CCLIENTHARVESTITEM_H__
+#define __CCLIENTHARVESTITEM_H__
+
+#include <e32base.h>
+
+#include "mdccommon.h"
+
+NONSHARABLE_CLASS( RClientHarvestItem )
+ {
+ public:
+ /**
+ * Constructor.
+ */
+ RClientHarvestItem();
+
+ /**
+ * Copy constructor.
+ */
+ RClientHarvestItem( const RClientHarvestItem& aItem );
+
+ /**
+ * Initialize with data.
+ */
+ void InitL( const TDesC& aURI, RArray<TItemId>& aAlbumIds );
+
+ /**
+ * Close (release memory).
+ */
+ void Close();
+
+ /**
+ * Resets the item. Releases memory.
+ */
+ void Reset();
+
+ private:
+
+ /** @var HBufC16* iUri;
+ * @brief URI to harvest
+ */
+ HBufC16* iUri;
+
+ /** @var TTime iTimeStamp;
+ * @brief Timestamp for the file
+ */
+ TTime iTimeStamp;
+
+ /** @var RArray<TInt> iAlbumIds;
+ * @brief Album IDs
+ */
+ RArray<TItemId> iAlbumIds;
+ };
+
+#endif