os/boardsupport/emulator/emulatorbsp/inc/vwins.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 1998-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 // wins\inc\vwins.h
    15 // Wins Variant 'public' Header
    16 // 
    17 //
    18 
    19 #ifndef __VWINS_H__
    20 #define __VWINS_H__
    21 
    22 #include <winsdef.h>
    23 #include "nk_priv.h"
    24 
    25 const TUint KDefaultColorDepth = 0xffffffffu;
    26 const TUint KDefaultColorDepthGCE = 24;
    27 
    28 class DDisplayChannel;
    29 
    30 class DWinsUiBase : public DBase
    31 	{
    32 public:
    33 	virtual TUint ColorDepth(TInt aScreenNumber) =0;
    34 	virtual TInt SetFlip(TEmulatorFlip aFlip, TInt aScreenNumber) =0;
    35 	virtual void Info(TVariantInfoV01& aInfo) =0;
    36 	virtual HWND HWnd() =0;
    37 	virtual TInt NumberOfScreens() =0;
    38 	virtual TInt SetDisplayChannel(TInt aScreenNumber, DDisplayChannel* aDisplay) = 0;
    39 protected:
    40 	IMPORT_C DWinsUiBase();
    41 	};
    42 
    43 #endif