mmappfw_plat/mpx_common_api/inc/mpxcustomcommandobserver.h
changeset 0 a2952bb97e68
equal deleted inserted replaced
-1:000000000000 0:a2952bb97e68
       
     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:  MPX custom command observer interface definition
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_MMPXCUSTOMCOMMANDOBSERVER_H
       
    21 #define C_MMPXCUSTOMCOMMANDOBSERVER_H
       
    22 
       
    23 
       
    24 // INCLUDES
       
    25 #include <e32base.h>
       
    26 
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34  *  MPX custom command observer.
       
    35  *
       
    36  *  @lib mpxcommon.lib
       
    37  */
       
    38 NONSHARABLE_CLASS( MMPXCustomCommandObserver )
       
    39     {
       
    40 public:
       
    41 
       
    42     /**
       
    43      * Handle custom commands.
       
    44      *
       
    45      * @since S60 3.2.3
       
    46      * @param aUid Command category Uid. Different command set will have 
       
    47      *             different Uid to avoid clash.
       
    48      * @param aCommand Command to be handled.
       
    49      * @param aData data for the specific command
       
    50      */
       
    51     virtual void HandleCustomCommand( 
       
    52         const TUid& aUid,
       
    53         const TInt aCommand, 
       
    54         const TDesC8& aData = KNullDesC8 ) = 0;
       
    55     };
       
    56 
       
    57 #endif  // C_MMPXCUSTOMCOMMANDOBSERVER_H
       
    58 
       
    59 // End of File