phoneapp/phoneuiutils/inc/mphonequerycommandobserver.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2009 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:  Abstract class to observe query commands.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __MPHONEQUERYCOMMANDOBSERVER_H
       
    20 #define __MPHONEQUERYCOMMANDOBSERVER_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 
       
    25 // CLASS DECLARATION
       
    26 /**
       
    27 *  Abstract class to observe query commands. 
       
    28 */
       
    29 class MPhoneQueryCommandObserver
       
    30     {
       
    31     public:
       
    32 
       
    33         /**
       
    34          * Destructor.
       
    35          */
       
    36         virtual ~MPhoneQueryCommandObserver() {};
       
    37 
       
    38         /**
       
    39          * Sends command which was selected from a query for
       
    40          * command observer.
       
    41          * @param aCommandId A command id.
       
    42          */
       
    43         virtual void ProcessCommandL( TInt aCommandId  ) = 0;
       
    44 
       
    45     };
       
    46 
       
    47 #endif // __MPHONEQUERYCOMMANDOBSERVER_H
       
    48 
       
    49 
       
    50 // End of File