os/graphics/graphicsdeviceinterface/directgdi/test/tdirectgdieglcontent_client.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 2007-2009 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 /**
    17  @file
    18  @test
    19  @internalComponent - Internal Symbian test code 
    20 */
    21 
    22 #ifndef __TDIRECTGDIEGLCONTENT_CLIENT_H__
    23 #define __TDIRECTGDIEGLCONTENT_CLIENT_H__
    24 
    25 #include <e32std.h>
    26 
    27 class TSgDrawableId;
    28 
    29 /**
    30 This class contains client side of egl content server session.
    31 */
    32 class REglContentSession : public RSessionBase
    33 	{
    34 public:
    35 	TInt Connect();
    36 	void Close();
    37 	TInt GetSyncImage(TSgDrawableId& aImageId);
    38 	TInt GetAsyncImage(TSgDrawableId& aImageId, TInt& aFrameNumber);
    39 	TInt GetAsyncImageDebug(TSgDrawableId& aImageId, TInt& aFrameNumber);
    40 private:
    41 	TInt StartServer();
    42 private:
    43 	RProcess iServer;
    44 	};
    45 
    46 #endif