diff -r cad71a31b7fc -r e36f3802f733 srsf/nssvasapi/nssvasdb/inc/nssvasmvasdatabaseclient.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/srsf/nssvasapi/nssvasdb/inc/nssvasmvasdatabaseclient.h Wed Sep 01 12:29:17 2010 +0100 @@ -0,0 +1,60 @@ +/* +* Copyright (c) 2003 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: This interface defines the call back methods used by VAS DB +* when replying to an asynchronous DeleteContext() request. +* +*/ + + +#ifndef MNSSVASDATABASECLIENT_H +#define MNSSVASDATABASECLIENT_H + +#include +#include "nssvasccontext.h" +#include "nssvasctag.h" +#include "nssvasctagreference.h" + + +// CLASS DECLARATIONS +/** +* MNssVASDatabaseClient defines the call back methods from the VAS DB +* @lib NssVASApi.lib +* @since 2.0 +*/ +class MNssVASDatabaseClient +{ +public: + + enum TNssVASDBClientReturnCode + { + EVASDBSuccess, + EVASDBItemNotFound, + EVASDBNoMemory, + EVASDBDiskFull, + EVASDBFailure + }; + + /** + * Callback from VAS DB + * @param aEvent + * @return None + */ + virtual void VASDatabaseComplete( CArrayPtrFlat* aContextList, + CArrayPtrFlat* aTagList, + CArrayPtrFlat* aTagRefList, + TNssVASDBClientReturnCode aCode ) = 0; + +}; + +#endif