diff -r 1c0a769d0cc5 -r 2672ba96448e devsound/a3facf/inc/mcontexteffectiveclient.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/devsound/a3facf/inc/mcontexteffectiveclient.h Fri Jun 11 15:13:33 2010 +0300 @@ -0,0 +1,34 @@ +// Copyright (c) 2006-2010 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: +// + +#ifndef MCONTEXTEFFECTIVECLIENT_H +#define MCONTEXTEFFECTIVECLIENT_H + +#include +#include + +const TUid KSetClientInfoUid = {0x2002C396}; +class MContextSetEffectiveClient + { +public: + /** + * Add process id of effective client (usually the effective devsound client) + * @param aActualProcessId process id of actual/effective client + * @return An error code. KErrNone on success, otherwise one of the system wide error codes. + */ + virtual TInt SetEffectiveClientInfo(const TProcessId& aActualProcessId) = 0; + }; + +#endif // MCONTEXTEFFECTIVECLIENT_H