diff -r fe894bb075c2 -r 79f826a55db2 mds_plat/harvester_framework_api/inc/harvesterclientdata.h --- /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 +#include + +#include + +// 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& aAlbumIds ); + + private: + /** + * Constructor. + */ + CHarvestClientData(); + + public: // data + RArray iAlbumIds; + }; + +#endif // HARVESTERCLIENTDATA_H +