imsrv_plat/ximp_presence_cache_api/inc/prescachewritehandler.h
changeset 51 61fad867f68e
equal deleted inserted replaced
-1:000000000000 51:61fad867f68e
       
     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 "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:  Interface for presence cache writer handler.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MPRESCACHEWRITEHANDLER_H
       
    19 #define MPRESCACHEWRITEHANDLER_H
       
    20 
       
    21 /**
       
    22  * Interface for presence cache writer API. Handler for asynchronous functions used in API.
       
    23  * This interface is implemented by the clients as per their needs. 
       
    24  *
       
    25  * @ingroup ximpprescacheapi
       
    26  * @since S60 v3.2
       
    27  */
       
    28 class MPresCacheWriteHandler
       
    29     {
       
    30     public:
       
    31     
       
    32         /**
       
    33          * Handler for Asynchronous methods of MPresenceCacheWriter.
       
    34          *
       
    35          * @param TInt error code comes here 
       
    36          */    
       
    37         virtual void HandlePresenceWriteL(TInt aErrorCode) = 0;
       
    38     };
       
    39 
       
    40 #endif // MPRESCACHEWRITEHANDLER_H