contacts_plat/presence_cache_api/inc/presencecachewritehandler2.h
author Peter Fordham <peter.fordham@gmail.com>
Fri, 19 Mar 2010 14:44:38 -0700
branchCompilerCompatibility
changeset 11 deb88a0cda37
parent 0 e686773b3f54
permissions -rw-r--r--
Bug 1771 - Fix types for passing function pointers.

/*
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Interface for presence cache writer handler.
*
*/

#ifndef MPRESENCECACHEWRITEHANDLER2_H
#define MPRESENCECACHEWRITEHANDLER2_H

/**
 * Interface for presence cache writer API. Handler for asynchronous functions used in API.
 * This interface is implemented by the clients as per their needs. 
 *
 */
class MPresenceCacheWriteHandler2
    {
    public:
    
        /**
         * Handler for Asynchronous methods of MPresenceCacheWriter2.
         *
         * @param TInt error code comes here 
         */    
        virtual void HandlePresenceWriteL(TInt aErrorCode) = 0;
    };

#endif // MPRESENCECACHEWRITEHANDLER2_H