os/graphics/graphicsdeviceinterface/screendriver/smomap/accelbitmap.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2003-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 #include "GraphicsAccelerator.h"
    17 
    18 EXPORT_C TInt RHardwareBitmap::GetInfo(TAcceleratedBitmapInfo& /*aInfo*/) const
    19 /**
    20  Fills a structure with data which describes the basic details of this
    21  bitmap.
    22 
    23  @param aInfo Bitmap information structure to fill with the details of this bitmap.
    24  @return KErrNone if successful, KErrBadHandle if a value has not been assigned to iHandle.
    25   */
    26 	{
    27 	if (!iHandle)
    28 		return KErrBadHandle ;
    29 
    30 	return KErrNotSupported ;
    31 	}
    32 
    33 EXPORT_C TInt RHardwareBitmap::SetAsScreenReference(TInt /*aScreen*/)
    34 	{
    35 	return KErrNotSupported ;
    36 	}
    37 
    38 EXPORT_C TInt RHardwareBitmap::Create(TDisplayMode /*aDisplayMode*/, TSize /*aSize*/, TUid /*aCreatorUid*/)
    39 	{
    40 	return KErrNotSupported;
    41 	}
    42 
    43 EXPORT_C void RHardwareBitmap::Destroy()
    44 	{}
    45