photosgallery/collectionframework/datasource/manager/inc/glxidlistrequest.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 08:45:44 +0200
changeset 0 4e91876724a2
permissions -rw-r--r--
Revision: 200949 Kit: 200951

/*
* Copyright (c) 2008-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:    Id list request
*
*/




#ifndef C_CGLXIDLISTREQUEST_H
#define C_CGLXIDLISTREQUEST_H

// INCLUDES
#include "glxrequest.h"
#include <glxmediaid.h>
#include <mpxfilter.h>
#include <mpxcollectionpath.h>

// FORWARD DECLARATIONS

// CONSTANTS

// CLASS DECLARATION

/**
 *  CGlxIdListRequest class 
 *
 *	@ingroup collection_component_design
 *  @internal reviewed 11/07/2007 by Dave Schofield
 */
class CGlxIdListRequest : public CGlxRequest
	{
public:
	IMPORT_C static CGlxIdListRequest* NewL(TGlxMediaId aContainerId, 
			                        const TUid& aCollectionPluginUid, 
			          CMPXFilter* aFilter, CMPXCollectionPath& aPath);

	virtual ~CGlxIdListRequest();
	
	inline const TGlxMediaId& ContainerId() const;
	
	/**
	 * Return the CollectionPath passed in on construction
	 * @return Collection path passed in on construction
	 */
	inline CMPXCollectionPath& CollectionPath();
	
private:
	CGlxIdListRequest(const TUid& aCollectionPluginUid, TGlxMediaId aContainerId, CMPXCollectionPath& aPath);

private:
	TGlxMediaId iMediaId;

	/**
	 * Path to populate
	 */
	CMPXCollectionPath& iPath;
	};

#include "glxidlistrequest.inl"

#endif // C_CGLXIDLISTREQUEST_H