mmsharing/mmshui/inc/musuicallbackobserver.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 0 f0cf47e981f9
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
       
     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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MUSUICALLBACKOBSERVER_H
       
    21 #define MUSUICALLBACKOBSERVER_H
       
    22 
       
    23 
       
    24 #include "musuidefinitions.h"
       
    25 
       
    26 
       
    27 /**
       
    28  * MUS application's note request interface.
       
    29  */
       
    30 class MMusUiCallbackObserver
       
    31     {
       
    32 
       
    33 public: // new functions
       
    34     
       
    35     /**
       
    36      * Process asynchronous event.
       
    37      *
       
    38      * @param aEventId Id of the triggered event
       
    39      */
       
    40     virtual void HandleAsyncEventL( TMusUiAsyncEvent aEventId ) = 0;
       
    41 
       
    42     /**
       
    43      * Error handler for HandleAsyncEventL.
       
    44      *
       
    45      * @param aError is error to be handled.
       
    46      * @return KErrNone means handled value. All other values will lead to
       
    47      *         a panic.
       
    48      */
       
    49     virtual TInt HandleAsyncError( TInt aError ) = 0;
       
    50     
       
    51     };
       
    52 
       
    53 
       
    54 #endif // MUSUICALLBACKOBSERVER_H