photosgallery/viewframework/medialists/inc/mglxmediapool.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:    Media pool interface
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __M_GLXMEDIAPOOL_H__
       
    22 #define __M_GLXMEDIAPOOL_H__
       
    23 
       
    24 #include <e32std.h>
       
    25 
       
    26 #include "glxmediaid.h"
       
    27 
       
    28 class CGlxMedia;
       
    29 
       
    30 /**
       
    31  * Interface to return media items
       
    32  * @author Aki Vanhatalo
       
    33  *
       
    34  * @internal reviewed 17/07/2007 by Kimmo Hoikka
       
    35  *
       
    36  * @ingroup mlm_media_list_manager_design
       
    37  */
       
    38 class MGlxMediaPool
       
    39     {
       
    40 public:
       
    41     /**
       
    42      * @param aIdSpaceId Id of Id space of aId
       
    43      * @param aId Id of media object
       
    44      * @return media object
       
    45      */
       
    46     virtual CGlxMedia* Media( const TGlxIdSpaceId& aIdSpaceId,
       
    47         const TGlxMediaId& aId ) const = 0;
       
    48     };
       
    49     
       
    50 #endif // __M_GLXMEDIAPOOL_H__