photosgallery/collectionframework/datasource/manager/inc/glxidlistrequest.h
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:    Id list request
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef C_CGLXIDLISTREQUEST_H
       
    22 #define C_CGLXIDLISTREQUEST_H
       
    23 
       
    24 // INCLUDES
       
    25 #include "glxrequest.h"
       
    26 #include <glxmediaid.h>
       
    27 #include <mpxfilter.h>
       
    28 #include <mpxcollectionpath.h>
       
    29 
       
    30 // FORWARD DECLARATIONS
       
    31 
       
    32 // CONSTANTS
       
    33 
       
    34 // CLASS DECLARATION
       
    35 
       
    36 /**
       
    37  *  CGlxIdListRequest class 
       
    38  *
       
    39  *	@ingroup collection_component_design
       
    40  *  @internal reviewed 11/07/2007 by Dave Schofield
       
    41  */
       
    42 class CGlxIdListRequest : public CGlxRequest
       
    43 	{
       
    44 public:
       
    45 	IMPORT_C static CGlxIdListRequest* NewL(TGlxMediaId aContainerId, 
       
    46 			                        const TUid& aCollectionPluginUid, 
       
    47 			          CMPXFilter* aFilter, CMPXCollectionPath& aPath);
       
    48 
       
    49 	virtual ~CGlxIdListRequest();
       
    50 	
       
    51 	inline const TGlxMediaId& ContainerId() const;
       
    52 	
       
    53 	/**
       
    54 	 * Return the CollectionPath passed in on construction
       
    55 	 * @return Collection path passed in on construction
       
    56 	 */
       
    57 	inline CMPXCollectionPath& CollectionPath();
       
    58 	
       
    59 private:
       
    60 	CGlxIdListRequest(const TUid& aCollectionPluginUid, TGlxMediaId aContainerId, CMPXCollectionPath& aPath);
       
    61 
       
    62 private:
       
    63 	TGlxMediaId iMediaId;
       
    64 
       
    65 	/**
       
    66 	 * Path to populate
       
    67 	 */
       
    68 	CMPXCollectionPath& iPath;
       
    69 	};
       
    70 
       
    71 #include "glxidlistrequest.inl"
       
    72 
       
    73 #endif // C_CGLXIDLISTREQUEST_H
       
    74