vtengines/videoteleng/Inc/Commands/MVtEngCommandObserver.h
changeset 18 d9b6a8729acd
parent 4 6dc066157ed4
child 23 c378a0498b84
child 27 dcbddbbaf8fd
equal deleted inserted replaced
4:6dc066157ed4 18:d9b6a8729acd
     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 for asynchronous commands.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MVTENGCOMMANDOBSERVER_H
       
    21 #define MVTENGCOMMANDOBSERVER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <vtengcommands.h>
       
    25 
       
    26 // CONSTANTS
       
    27 
       
    28 // MACROS
       
    29 
       
    30 // DATA TYPES
       
    31 
       
    32 // FUNCTION PROTOTYPES
       
    33 
       
    34 // FORWARD DECLARATIONS
       
    35 
       
    36 
       
    37 // CLASS DECLARATION
       
    38 
       
    39 /**
       
    40 * Observer for asynchronous commands.
       
    41 *
       
    42 * @since 2.6
       
    43 */
       
    44 class MVtEngCommandObserver
       
    45     {
       
    46     public: // new functions
       
    47 
       
    48         /**
       
    49         * Callback for command completion.
       
    50         * @param aCommand completed command. This is
       
    51         * same instance as passed in MVtEngCommandHandler::ExecuteL.
       
    52         * Client may delete the command.
       
    53         * @param aError Symbian OS error code.
       
    54         */
       
    55         virtual void HandleVTCommandPerformedL( 
       
    56             TVtEngCommandId aCommand,
       
    57             const TInt aError ) = 0;
       
    58     };
       
    59 
       
    60 #endif      // MVTENGCOMMANDOBSERVER_H
       
    61             
       
    62 // End of File