diff -r 000000000000 -r e686773b3f54 contacts_plat/presence_cache_api/inc/presencecachewritehandler2.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/contacts_plat/presence_cache_api/inc/presencecachewritehandler2.h Tue Feb 02 10:12:17 2010 +0200 @@ -0,0 +1,38 @@ +/* +* 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