wvuing/wvuieng/EngInc/MCAContentProcessObserver.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2005 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:  Interface for observing content processors
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MCACONTENTPROCESSOBSERVER_H
       
    20 #define MCACONTENTPROCESSOBSERVER_H
       
    21 
       
    22 //	FORWARD CLASS DECLERATIONS
       
    23 class MCAContentProcessor;
       
    24 class MCAMessage;
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29  *  Interface for observing content processors
       
    30  *
       
    31  *  @lib CAEngine.dll
       
    32  *  @since 3.0
       
    33  */
       
    34 class MCAContentProcessObserver
       
    35     {
       
    36     public: // Interface
       
    37 
       
    38         /**
       
    39          * Handle processing completion. Called by content processor when
       
    40          * processing is ready.
       
    41          * @param aProcessor Processor which made processing.
       
    42          * @param aStatus, Status of processing. KErrNone -> OK.
       
    43          */
       
    44         virtual void HandleProcessingComplete( MCAContentProcessor& aProcessor,
       
    45                                                MCAMessage& aMessage,
       
    46                                                TInt aStatus ) = 0;
       
    47 
       
    48     protected: // For protection.
       
    49 
       
    50         /**
       
    51          * Destructor
       
    52          */
       
    53         virtual ~MCAContentProcessObserver() {}
       
    54     };
       
    55 
       
    56 #endif      // MCACONTENTPROCESSOBSERVER_H
       
    57 
       
    58 // End of File