phoneapp/phoneuiview/inc/mphonequeryobserver.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2002 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 *   Defines an interface for observing queries
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef MPHONEQUERYOBSERVER_H
       
    21 #define MPHONEQUERYOBSERVER_H
       
    22 
       
    23 //  INCLUDES
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 
       
    27 // CLASS DECLARATION
       
    28 /**
       
    29 *   Defines an interface for observing queries
       
    30 */
       
    31 class MPhoneQueryObserver
       
    32     {
       
    33     public: // New functions
       
    34 
       
    35         /**
       
    36         * Set by the query when it is asynchronously deleted
       
    37         * @param aQueryDeleted ETrue if query is deleted
       
    38         */
       
    39         virtual void SetQueryDeletedFlag( TBool aQueryDeleted ) = 0; 
       
    40         
       
    41         /**
       
    42         * Reports query dialog's exit
       
    43         * @param aCommand user selected action.
       
    44         */  
       
    45         virtual void ReportQueryCompleteAsync( TInt aCommand ) = 0;        
       
    46     };
       
    47 
       
    48 #endif      // MPHONEQUERYOBSERVER_H   
       
    49             
       
    50 // End of File