Update contrib.
1 // Copyright (c) 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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef MEDIACLIENTPOLICYSERVERCLIENT_H
17 #define MEDIACLIENTPOLICYSERVERCLIENT_H
19 #include "mediaclientpolicyserversession.h"
21 #include <graphics/surface.h>
23 const TInt KFocusSurfaceChanged = 9; // taken from Policy Server
25 NONSHARABLE_CLASS(CMediaClientPolicyServerClient) : public CBase
28 class TFocusSurfaceChangedEvent
31 TSurfaceId iSurfaceId;
36 static CMediaClientPolicyServerClient* NewL();
37 virtual ~CMediaClientPolicyServerClient();
42 void SetSurface(const TSurfaceId& aSurfaceId);
43 void FocusChanged(TBool aForeground);
44 TBool IgnoreProcess(TSecureId aId);
47 CMediaClientPolicyServerClient();
50 RMediaClientPolicyServerSession iSession;
51 TSurfaceId iSurfaceId;
54 #endif // MEDIACLIENTPOLICYSERVERCLIENT_H