devsound/a3facf/inc/mcontexteffectiveclient.h
changeset 24 2672ba96448e
equal deleted inserted replaced
21:1c0a769d0cc5 24:2672ba96448e
       
     1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef MCONTEXTEFFECTIVECLIENT_H
       
    17 #define MCONTEXTEFFECTIVECLIENT_H
       
    18 
       
    19 #include <e32base.h>
       
    20 #include <a3f/a3fbase.h>
       
    21 
       
    22 const TUid KSetClientInfoUid = {0x2002C396};
       
    23 class MContextSetEffectiveClient
       
    24     {
       
    25 public:
       
    26     /**
       
    27      * Add process id of effective client (usually the effective devsound client)
       
    28      * @param aActualProcessId process id of actual/effective client
       
    29      * @return An error code. KErrNone on success, otherwise one of the system wide error codes.
       
    30      */
       
    31     virtual TInt SetEffectiveClientInfo(const TProcessId& aActualProcessId) = 0;
       
    32     };
       
    33 
       
    34 #endif // MCONTEXTEFFECTIVECLIENT_H