serviceproviders/sapi_contacts_vpbk/contactservice/inc/cancelasyncrquest.h
changeset 19 989d2f495d90
equal deleted inserted replaced
14:a36b1e19a461 19:989d2f495d90
       
     1 /*
       
     2 * Copyright (c) 2007 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 the License "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:  an interface to handle cancel of async requests
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 /**
       
    20  * An abstract class which is to be implemented by all observers to support cancel.
       
    21  */
       
    22 
       
    23 #ifndef M_CANCELASYNC_H
       
    24 #define M_CANCELASYNC_H
       
    25 
       
    26 class MCancelAsync
       
    27 {
       
    28 	public:
       
    29    /**
       
    30 	* To be implemented by all the observers for supporting 
       
    31 	* cancel operation customised to each of the observer 
       
    32 	* classes.
       
    33 	*/
       
    34 	
       
    35 	virtual void Cancel()=0;
       
    36 	
       
    37 };
       
    38 
       
    39 
       
    40 #endif //M_CANCELASYNC