diff -r 000000000000 -r c53acadfccc6 harvester/client/inc/clientharvestitem.h --- /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 + +#include "mdccommon.h" + +NONSHARABLE_CLASS( RClientHarvestItem ) + { + public: + /** + * Constructor. + */ + RClientHarvestItem(); + + /** + * Copy constructor. + */ + RClientHarvestItem( const RClientHarvestItem& aItem ); + + /** + * Initialize with data. + */ + void InitL( const TDesC& aURI, RArray& 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 iAlbumIds; + * @brief Album IDs + */ + RArray iAlbumIds; + }; + +#endif