mmappfw_plat/harvester_metadata_extractor_api/inc/mpxmetadataextractorobserver.h
branchRCL_3
changeset 23 4740b34b83ce
equal deleted inserted replaced
19:51035f0751c2 23:4740b34b83ce
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Observer class for metadata extractor
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MMPXMETADATAEXTRACTOROBSERVER_H
       
    20 #define MMPXMETADATAEXTRACTOROBSERVER_H
       
    21 
       
    22 class CMPXMediaArray;
       
    23 
       
    24 /**
       
    25  *  Metadata Extractor observer
       
    26  *
       
    27  *  @lib mpxfilehandler.lib
       
    28  *  @since S60 v9.2
       
    29  */
       
    30 class MMPXMetadataExtractorObserver
       
    31     {
       
    32 
       
    33 public:
       
    34 
       
    35     /**
       
    36     * Callback when the CreateMediaL() is completed.
       
    37     * @param aMedia media with metadata populated. Ownership transferred.
       
    38     * @param aError error
       
    39     */
       
    40     virtual void HandleCreateMediaComplete( CMPXMedia* aMedia, TInt aError ) = 0;
       
    41     };
       
    42 
       
    43 #endif // MMPXMETADATAEXTRACTOROBSERVER_H