harvesterplugins/media/image/inc/cpixmediaimagedoc.h
changeset 0 ccd0fd43f247
equal deleted inserted replaced
-1:000000000000 0:ccd0fd43f247
       
     1 /*
       
     2 * Copyright (c) 2010 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:  MDS to CPIX Image Document fetcher 
       
    15  *
       
    16 */
       
    17 
       
    18 #ifndef CPIXMEDIAIMAGEDOC_H_
       
    19 #define CPIXMEDIAIMAGEDOC_H_
       
    20 
       
    21 #include "cpixdocfetcher.h"
       
    22 
       
    23 class CCPIXMediaImageDoc : public CCPIXDocFetcher
       
    24     {
       
    25 public:
       
    26     /*
       
    27      * NewL
       
    28      * @return instance of media Image doc
       
    29      */
       
    30     static CCPIXMediaImageDoc* NewL();
       
    31     /*
       
    32      * NewLC
       
    33      * @return instance of media Image doc
       
    34      */    
       
    35     static CCPIXMediaImageDoc* NewLC();
       
    36     /*
       
    37      * Destructor
       
    38      */
       
    39     ~CCPIXMediaImageDoc();
       
    40     //Overwride
       
    41     /*
       
    42      * GetCpixDocumentL get cpix document from mde object
       
    43      * @param CMdEObject& aObject mde object
       
    44      * @param TDesC& aAppClass app class
       
    45      * @param CMdEObjectDef& aObjectDef mde object def
       
    46      * @return instance of CPIX document 
       
    47      */
       
    48     CSearchDocument* GetCpixDocumentL(const CMdEObject& aObject, 
       
    49                                       const TDesC& aAppClass,
       
    50                                       CMdEObjectDef& aObjectDef);    
       
    51 private:
       
    52     /*
       
    53      * Second phase constructor
       
    54      */
       
    55     void ConstructL();
       
    56     /*
       
    57      * Default constructor
       
    58      */
       
    59     CCPIXMediaImageDoc();
       
    60     };
       
    61 
       
    62 #endif /* CPIXMEDIAIMAGEDOC_H_ */